DEV Community

Discussion on: Stop Using .env Files Now!

Collapse
 
fluffynuts profile image
Davyd McColl

we manage this with our deployments - Octopus already handles this kind of thing at deploy-time; of course, if you're looking to live-update, that's a different story, but if you're reading config every time from some remote service, good luck to ya

Thread Thread
 
gregorygaines profile image
Gregory Gaines • Edited

Going to jump in here. Ideally, you only load your configs on startup. A config server generally have very low QPS.

Even if you had to query it rapidly, you should be accessing it from a VPC for little to no latency. So using the description of a "remote service" doesn't really apply in the context of a VPC.