Earlier quoted context omitted.
So you just flip feature flags in prod all willy nilly? No process?
There are more options than store in git, or flip willy nilly. For systems of sufficient scale, it's fairly standard to keep flag changes outside of git so that they can be flipped without a pr. That way the flag change UI can apply other validation steps before any change is attempted such as ensuring valid enrolment ranges (no accidental overlap, and no accidental rollouts to 100% instead of 10%), and the associate…
Show HN: Dorkly – Open source feature flags
61–70 of 104 posts
Re: Show HN: Dorkly – Open source feature flags
#62Re: Show HN: Dorkly – Open source feature flags
#63I have 25 years of coding experience, built two successful businesses, and I have no idea what this thing is supposed to do.
Re: Show HN: Dorkly – Open source feature flags
#64Re: Show HN: Dorkly – Open source feature flags
#65If you’re looking for an open source feature flag option, also check out https://www.growthbook.io/
Re: Show HN: Dorkly – Open source feature flags
#66Earlier quoted context omitted.
The sole reason I like feature flags is that I can quickly toggle off a change if it causes a problem. I'd hate to need to find someone to sign off on restoring service. Anything more than 1 or 2 clicks is just adding precious seconds to an outage. I've worked at places that gave broad implicit approval to developers to toggle away as needed. It worked well.
> I'd hate to need to find someone to sign off on restoring service. In these shops, this gets handled via paging on-call engineers. The on-call is sometimes given more latitude if their actions are auditable.
This is nonsense.
Re: Show HN: Dorkly – Open source feature flags
#67Earlier quoted context omitted.
But it’s also common to stick those flags back under some sort of audit system so we know why and how weird states got set. The simplest way is a separate repo with simpler rules for pushing to master. Though you could also create your own audit system (just make sure it functions even when the entire site is down)
This is all decided by business needs, not by engineer preference. If devs aren’t pulling the levers it is good to expose them in an accessible interface, not plaintext.
Re: Show HN: Dorkly – Open source feature flags
#68If it's something controlled by the PR why is it even a feature flag? Seems like you lose a huge chunk of the benefit and might as well just change the code at that point. This to me seems like the wrong place to be controlling them, i certainly don't want to have to make a PR and merge it when a site issue is happening. Open to missing something though, curious what others experience has been
It's good to have the current state of all the flags in source control, just like you do for things like infrastructure-as-code. The distinction is that you have a different release process, or build a different artifact, from your main codebase. The codebase you are controlling with flags doesn't change when your flags do. This can be done with separate repos if you want one build per repo, but it doesn't have to be…
At this point, your production infrastructure is no longer solely one stateless server + one database, but two databases: your RDBMS and your GitOps repo tracking feature flags. Do you really get enough value from the second GitOps database compared to putting your feature flags in your main RDBMS?
Re: Show HN: Dorkly – Open source feature flags
#69Neat! I'll look into integrating this with my feature flag abstraction library: https://github.com/theogravity/feature-manager-wrapper Edit: It looks like it's a backend replacement to LaunchDarkly, but you can still use the LD client from what I'm reading here, so there's nothing for me to integrate here.