Why Cloudflare D1?
ContextSmall team, edge deployment for Kathmandu firms, low operations budget. Relational data with migrations — not a key-value dump.
DecisionUse D1 + Workers for NepalIPMS register, matters, and API state. Keep documents in R2; sessions and hot cache in KV.
TradeoffDifferent scaling model than managed Postgres. Single-writer realities require disciplined schema design and query habits.