Skip to content

Comment on Principles for building and scaling feature flag systems

Comments

More principles

- Require in code defaults for fault tolerance

- Start annoying the flag author to delete if the flag is over a month old

- Partial rollout should be by hash on user id

- Contextual flag features should always be supplied by client (e.g. only show in LA, the location should be provided by client)

Partial rollout should be by hash on user id

With a per-flag salt as well, otherwise the same user will always have bad luck and be subject to experiments first.

Our in-house solution hashes flagname+key, and LD does the same but adds salt

Better yet require always the same default for boolean flags, so that it's easier to reason about lifecycle for them.

Start annoying the flag author to delete if the flag is over a month old

No problem, filter that email directly to spam folder.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.