Live data from Hacker News

Show HN: FFlags – Feature flags as code, served from the edge

fflags.com

1–10 of 37 posts

Show HN: FFlags – Feature flags as code, served from the edge

#1
Hi HN,

I'm the creator of FFlags. I built this because I wanted a feature flagging system that gave me the performance and reliability of an enterprise-scale solution without the months of dev time or the vendor lock-in.

The core ideas are:

1. Feature Flags as Code: You define your flag logic in TypeScript. This lets you write complex rules, which felt more natural as a developer myself than using a complex UI for logic.

2. Open Standard: The platform is built on the OpenFeature standard (specifically the Remote Evaluation Protocol). The goal is to avoid vendor lock-in and the usual enterprise slop. You're not tied to my platform if you want to move.

3. Performance: It uses an edge network to serve the flags, which keeps the wall-time latency low (sub-25ms) for globally distributed applications.

I was trying to avoid the heavy cost and complexity of existing enterprise tools while still getting better performance than a simple self-hosted solution.

There's a generous free tier ($39 per million requests after that, with no flag/user limits). I'm looking for feedback on the developer experience, the "flags-as-code" approach, and any technical questions you might have.

Thanks for taking a look.

Show HN: FFlags – Feature flags as code, served from the edge
fflags.com

Re: Show HN: FFlags – Feature flags as code, served from the edge

#5

Love that it is build on open standards, i hate vendor lockins. Will pitch this at my org with a POC :)

That was the main pain-point I faced in the orgs I have worked with. When I came to know about the OpenFeature I was instantly gravitated towards building this on open standards.

Re: Show HN: FFlags – Feature flags as code, served from the edge

#6
This product is probably not intended for me but at this stage I'm not even sure I know what a feature flag is any more.

I thought feature flags were just toggles so you could turn features on and off. I wouldn't know how to implement those as anything other than code. Or why you would need an external service.

What problem is this solving?

Re: Show HN: FFlags – Feature flags as code, served from the edge

#7
post #6

This product is probably not intended for me but at this stage I'm not even sure I know what a feature flag is any more. I thought feature flags were just toggles so you could turn features on and off. I wouldn't know how to implement those as anything other than code. Or why you would need an external service. What problem is this solving?

I had the same question after quickly reading the docs.

I am probably not directly an intended user but I sure would be glad to understand what this is (as an amateur dev)

Re: Show HN: FFlags – Feature flags as code, served from the edge

#8
post #6

This product is probably not intended for me but at this stage I'm not even sure I know what a feature flag is any more. I thought feature flags were just toggles so you could turn features on and off. I wouldn't know how to implement those as anything other than code. Or why you would need an external service. What problem is this solving?

A lot of "engineers" nowadays don't know the concept of per-user/customers configs and how to build/expose them to non-technical staff.

The main appeal of feature flags is simplicity and being a low-hanging way to apply per-customer/user configuration, few platforms allow true a/b testing (amplitude comes to mind but I'm sure there are more).

Re: Show HN: FFlags – Feature flags as code, served from the edge

#9
post #6

This product is probably not intended for me but at this stage I'm not even sure I know what a feature flag is any more. I thought feature flags were just toggles so you could turn features on and off. I wouldn't know how to implement those as anything other than code. Or why you would need an external service. What problem is this solving?

Likewise, while the idea of sticking the determination of whether a given feature is enabled or not in a REST service would make sense, it's not at all clear why you'd ever want to farm that out to another provider, apart from the rare case when you're making a static website with no backend at all.

If you have any kind of back-end infrastructure, it'd seem trivial to implement this yourself. Doing it yourself also allows you to make the feature flags more controlled, e.g. by some flag associated with the current user such as opting into experimental features.

For efficiency, I'd also want to batch a bunch of such flags together, so e.g. when a use logs in they get a list of enabled features that gets cached locally, rather than having to query each and every one via REST.

So I'd echo the question, what problem is this solving?

Re: Show HN: FFlags – Feature flags as code, served from the edge

#10
post #8
post #6

This product is probably not intended for me but at this stage I'm not even sure I know what a feature flag is any more. I thought feature flags were just toggles so you could turn features on and off. I wouldn't know how to implement those as anything other than code. Or why you would need an external service. What problem is this solving?

A lot of "engineers" nowadays don't know the concept of per-user/customers configs and how to build/expose them to non-technical staff. The main appeal of feature flags is simplicity and being a low-hanging way to apply per-customer/user configuration, few platforms allow true a/b testing (amplitude comes to mind but I'm sure there are more).

Feature flag can (usually does??) have another meaning, as a technical feature rollout mechanism, so you can roll back quickly without a deployment. A way to manage risk on teams that make hundreds of commits/deploys a week. You can then often send a certain % of traffic through the feature or not to look for early warnings.

I don't like feature flags for config. Just build a config system into the product UI - a settings page basically! That might have some bits you configure as the site owner, and some that are self-service.

Post reply on HN