← Back

Writing.

Occasional notes on backend architecture, database performance, and building products that have to work on bad connections.

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.

Apr 2026·8 min

A monorepo that three apps actually share

NestJS API, Next.js dashboard and a React Native PWA in one repo — the boundaries that kept the shared types honest.

Feb 2026·5 min

Designing for slow networks

Offline-first passbooks, optimistic writes and a 40kb critical path: what it takes for a fintech PWA to work on 2G.