Cloudflare Flagship
151–160 of 189 posts
Re: Cloudflare Flagship
#152I've never understood feature flags. How are they fundamentally different to a Boolean in a database?
The flags (whether they be booleans, strings, numbers, or anything else) are the trivial part. It's the targeting and rollout rules (i.e. who gets to see which flags), and the requirements for extremely fast and consistent evaluation of these rules, that can get surprisingly complicated fast, and folks who have rolled their own usually find that product management or marketing or sales wants to target using more comp…
Re: Cloudflare Flagship
#153Earlier quoted context omitted.
how would a single JSON allow staged rollouts with sticky sessions?
you pick a frequency you want, represent that as a fraction, and modulo on user id, and your 80% of the way there
Often problems are more complex than they seem at first sight and I have found it’s a good approach to think “what am I missing” rather than “lots of people must be making very obviously bad decisions” and reach the latter conclusion only after more work. Usually I’ve missed something.
Re: Cloudflare Flagship
#154I've never understood feature flags. How are they fundamentally different to a Boolean in a database?
It's the tooling around them. How do you set a boolean to only return true for queries to 5% of the fleet? And which 5% of the fleet? And then ramp up on a predefined cadence? Or how about returning true only for customers in the preview group for the feature? Does the database return false automatically if the 5% of the fleet where it's true start crashing or throwing exceptions? Does it hook into your observability…
I guess I like boring software too much to reach for a dependency but I do see how the tooling matters here.
Re: Cloudflare Flagship
#155Gold-plated booleans-as-a-service
Re: Cloudflare Flagship
#156Re: Cloudflare Flagship
#157Earlier quoted context omitted.
That sounds like the product is not finished and should not be released?
"If you are not ashamed by what you are shipping, you are not shipping early enough" (Quoting from memory)
I think you're thinking this:
> If you are not embarrassed by the first version of your product, you've launched too late. -Reid Hoffman
Re: Cloudflare Flagship
#158Earlier quoted context omitted.
how would a single JSON allow staged rollouts with sticky sessions?
you pick a frequency you want, represent that as a fraction, and modulo on user id, and your 80% of the way there
If it were that easy people would not be paying for it.