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.
P

Phani Kumar

@phanikumar

Frontend Engineer

0 followers0 following0 expertise score3 posts

Ex-service company, now product. Focused on reliability and DX. (telugu)

PythonDjangoAWS

Experiences shared

Problem solving23d ago·1 entry

a silent 502 that only hit 2% of traffic

No spike in CPU. Error budgets looked fine at a glance. Users still reported blank pages in a thin slice of traffic. Logs only showed upstream resets with no clear application exception. The culprit was a stale keep-alive timeout between nginx and the app. Aligning idle timeouts stopped the intermittent 502s within an hour. We also added a dashboard for upstream reset reasons so the next page is faster.

301 views0 likes0 comments0 bookmarks
#NGINX#debugging#networking
PPhani KumarRead →
Case study24d 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.

292 views0 likes0 comments0 bookmarks
#migration#billing#architecture
Phani Kumar
Comparison25d 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.

269 views0 likes0 comments0 bookmarks
#queues#postgres#redis
Phani Kumar
P
Read →
P
Read →