← sources

How do you keep configs in sync across services & environments when deploying?

source: reddit (reddit:ExperiencedDevs)published 2026-06-04 13:17ingested 2026-06-05 09:35

retained text

<!-- SC_OFF --><div class="md"><p>Hello! </p> <p>We're facing an issue with managing configs across our services and wanted advise on how to handle such a situation?. </p> <p>We own on a bunch of microservices in the auth/identity space and our config management is a mess. A few examples of what makes it painful:</p> <p>Every new API route needs rate limit configs added to the DB of each service, at user, device, and client level. New client onboarding means wiring up configs across services, creating WhatsApp/SMS/email templates, and making sure the template IDs are copied to the right service DBs. Most of our APIs perform actions rather than store data (login, register, reset password, etc.) so we end up with client x flow combos, each with their own rate limits, notification templates, and configs. All of this is spread across service DBs, env vars, Redis, and third-party vendors like WhatsApp or Mailgun.</p> <p>This was manageable with a handful of clients and flows. Both are growing fast now and the manual overhead per deployment is getting out of hand.</p> <p>The current process is completely manual. Update the DB, flush caches where needed (if you remember), update env vars, redeploy. To make it worse, some failures are completely silent. If a rate limit config is missing, nothing errors out, it just doesn't enforce. We don't even know it broke.</p> <p>QA runs on staging where configs are set up correctly. But our QA cycle is long, and by the time we push to pre-prod or prod, someone has usually missed something. </p> <p>I understand that our services are heavily coupled, more than usual since we inherited this mid-rewrite but unfortunately decoupling isn't on the table right now so looking for solutions that work within these constraints.</p> <p>Thank you all in advance!</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/zecatlays"> /u/zecatlays </a> <br /> <span><a href="https://www.reddit.com/r/ExperiencedDevs/comments/1twnesy/how_do_you_keep_configs_in_sync_across_services/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/ExperiencedDevs/comments/1twnesy/how_do_you_keep_configs_in_sync_across_services/">[comments]</a></span>

document fetched 2026-06-05 09:35