Config as Code Configuration as code gives you compile-time safety, while still giving you the option of overriding configuration values at runtime. It is the best of both worlds.
Cats-Effect Ref Ref is a purely functional way of holding and mutating application state in memory. All of its operations are atomic and thread-safe.