Jun 2026·6 min
Accruing interest daily, crediting monthly
How I modelled savings interest in Postgres without floating-point drift, and why the cron job writes ledger rows instead of mutating balances.
Occasional notes on backend architecture, database performance, and building products that have to work on bad connections.
How I modelled savings interest in Postgres without floating-point drift, and why the cron job writes ledger rows instead of mutating balances.
NestJS API, Next.js dashboard and a React Native PWA in one repo — the boundaries that kept the shared types honest.
Offline-first passbooks, optimistic writes and a 40kb critical path: what it takes for a fintech PWA to work on 2G.