Ask HN: Have you ever implemented a feature flags service?
The correct way to handle this, I think, is to rely on feature flags. So, for example, I could say that feature X is not available in production, feature Y is available in staging, etc.
Implementing this as static flags using configuration files and settings is easy enough, but what I would like is something along the lines of what Launch Darkly (and other services, I assume..) provides, which is the ability to dynamically flip features on and off in such a manner that running services will respect the changes to those flags live.
Does anyone have any tips on how to go about implementing this? I can think of a few relatively simple ways with a couple pieces of infrastructure in AWS or any other cloud provider to make this possible, but I'm wondering if people have already implemented something along these lines.
Thanks in advance.