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

Chris Lang

@chrislang

Freelance Consultant

0 followers1 following0 expertise score3 posts

Helping startups unstick legacy Node apps and ship v2.

Node.jsConsultingAWS

Experiences shared

Learning5d ago·1 entry

production note on feature flags while rolling back payments

We ran into this around feature flags while rolling back payments. Docs helped humans. Generated types caught the breakages in CI. Schemas still drift when several repos move at different speeds. Hand-written wrappers stayed flexible and hid mismatches. The noisy diffs were worth it once a breaking change never shipped. We kept the generator and deleted the duplicate sample clients.

0 views0 likes0 comments0 bookmarks
#feature flags
CChris Lang
Read →
Case studyAug 29, 2026·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.

146 views0 likes0 comments0 bookmarks
#billing#migration#architecture
Chris Lang
ComparisonAug 28, 2026·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.

342 views0 likes0 comments0 bookmarks
#queues#postgres#redis
Chris Lang
C
Read →
C
Read →