I'm currently exploring feature flag options for a side project that's gaining traction, but I'm really puzzled by the high costs of many services. For instance, LaunchDarkly seems to start around $500 a month, which is way beyond my budget. I've considered some alternatives like Unleash and PostHog, but I'm either worried about self-hosting or feeling that they're overkill for my needs. Right now, I'm just relying on environment variables and a makeshift config file, but it's become clear that I need something more robust for user targeting and percentage rollouts. I'd love to hear from others about their experiences:
1. Do small teams (< 10 developers) actually pay for feature flag services, and if so, which ones and are they worth it?
2. For anyone self-hosting Unleash, how much maintenance work does it actually entail?
3. Are there any regrets from those who have rolled their own systems?
Or am I overthinking things, and can environment variables and config files be enough for most situations?
5 Answers
I've found that a simple roll-your-own solution can work just fine, especially if you only need basic functionality. A couple of lines of code to check user IDs against a percentage can handle basic rollout management. But remember, if you do go for a service like ConfigCat or GrowthBook, you can manage features without needing a redeployment, which can save a lot of headaches in the future.
Honestly, it seems wild to me that you'd pay for something as basic as feature flags. Most projects can get by just fine with environment variables and simple checks in the code. However, if you're storing flags in a database, that can work well for user-specific targeting. Just make sure to keep it manageable; once you have multiple teams forked versions of your flags, it can get messy real quick!
There are quite a few open-source options that can handle basic needs well. For example, there's a solid library for Django called Waffle. We've been running it with a small team and it keeps things simple without needing tons of extra maintenance.
Here's a thought: Why not try using simple switches with Redis? It's lightweight and free, and you can build a simple admin UI for toggling flags on and off. If you need advanced features later on, then look into a service.
If budget is an absolute concern, GitLab has a free tier that offers 50 feature flags. Plus, if you know your way around setting up a small development environment, self-hosting a flag system like Flagr or Optimizely can get you what you need without the steep monthly fees.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically