TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Do you use a feature flag system? What does it look like?

8 pointsby abahloover 1 year ago
I‘m in the process of setting up feature flags and curious of existing experiences.<p>Which systems worked, which didn’t, and how would you set one up if you were to do so today? Any software you can recommend?

8 comments

b-rock8over 1 year ago
If you’re interested in a good flag system that’s not LaunchDarkly or Split (which have gotten really expensive) Statsig has a really good offering. Their original thing was analytical feature flags for testing the impact of rollouts, but they basically offer the full suite that the others do.
评论 #39328617 未加载
ayoubElkover 1 year ago
We just integrated launchdarkly recently and I like it, they provide multiple flag types that I haven&#x27;t seen on other services, the main one being migration flags (can be either 2, 4, or 6 step migrations) that allow you to control the migration from one system to the other.<p>It&#x27;s been pretty helpful for us moving our analytics queries from mongoDB to clickhouse.
scrubsover 1 year ago
Feature bits in shared memory and if accessed less frequently in redis is a staple solution. The system I used was managed by an internal group had a solid api, life cycle management, plus propagation of flags wuth defaults. It worked at serious scale. New code could be enabled and disabled independent of code. Removal of code and deletion of old code paths lagged by devs, but on the whole it served custs well.
mejutocoover 1 year ago
If you are at an engineer-driven company a couple of utility functions &quot;if ff_isset(ff_name)&quot; one for backend and one for frontend might be all you need. You select the FF by setting a cookie. You can have a simple dashboard to set them and show the data.<p>Most companies seem to prefer launchdarkly or similar, but I have seen this setup work great at big international websites with loads of traffic.
lgkkover 1 year ago
I’ve used launch darkly and I think it works fine. Pretty good for larger companies imo.<p>For my smaller projects I’ve used simple kv stores and user id lookups to handle it. Works fine.<p>Depends how advanced you want to go honestly. If you want to go bonkers use LD. If you want something simple like literally serve X user Y content you could set something up yourself in 30 minutes.
XCSmeover 1 year ago
I have feature flags for the different versions of my product. I can&#x27;t change them live, I do make a build with specific flags enabled based on the env variables set on build (in .env files).<p>I simply use GulpJS with the removeIf plugin, which completely adds&#x2F;removes the code of the feature.
phendrenad2over 1 year ago
No, I just have a big config file and edit it directly. I don&#x27;t have a lengthy build pipeline, so changes take place virtually immediately.
builder555over 1 year ago
Tried feature flags, but it ended up being a mess. Went back to dev&#x2F;master branches with automated tests between them using standard GitHub workflows.
评论 #39328625 未加载