CTRL ALTSCtrl Alt Solvereal-world developer knowledge
SearchJoin
Ctrl Alt Solve — Don't just ask what to do. Learn what developers experienced when they did it.
S

Suma Rao

@sumarao

Product Engineer

0 followers0 following0 expertise score2 posts

Building products from Hyderabad. Love clean APIs and late-night debugging sessions. (tamil/kannada)

TypeScriptNext.jsPostgres

Experiences shared

Case study10d ago·1 entry

a monolith endpoint without a big-bang rewrite

We extracted one high-churn billing endpoint behind a strangler facade. Dual-writes ran for two weeks while we compared totals nightly. A feature flag controlled read traffic so we could roll back instantly. The hardest part was matching edge-case rounding in legacy invoices. Cutover finished with no customer-facing downtime and a smaller blast radius. We kept the facade until three more endpoints followed the same path.

390 views0 likes0 comments0 bookmarks
#migration#billing#architecture
SSuma RaoRead →
Comparison11d ago·1 entry

vs Postgres for short-lived job locks

We needed locks so queue workers did not process the same job twice. Redis SET NX was faster under load and easy to expire automatically. Postgres advisory locks were simpler operationally for our small team. Failover behavior mattered more than raw latency in our case. We chose Postgres first, then moved hot paths to Redis later. Pick the lock store you can operate confidently at 3am.

369 views0 likes0 comments0 bookmarks
#queues#postgres#redis
SSuma Rao
Read →