Feature Flags Team

Feature Flags Team

The team pulling the magic feature flag lever

People

Roadmap

Recently shipped

Cohort creation improved

Feature success has made two small, but mightily important quality-of-life improvements for when you create new cohorts.

The first is simply that we now tell you very clearly at the top of the page when your cohort was last calculated, so you can judge how accurate it is. Cohorts are still normally recalculated every 24 hours, so we added that information too.

The second update is that now, when you specify an event, you can also add filters and custom dates directly within the cohort creation. It's another small tweak which should hopefully greatly improve the speed at which you build cohorts.

Goals

Q4 2024 Objectives

As always, reliability is the #1 goal: Making sure feature flags are reliable and performant trumps every other objective.

Objective 1: Make sure the new feature flags service (the /flags endpoint) can handle 10x current scale with a 2x speed increase

In the beginning of 2024, we hit some scaling limits on flags: It's now very expensive to run flags on Django and we'll hit some scaling limits at 5x our scale.

To get ahead of this problem, we decided to rewrite our flags service to be more performant and reliable.

As of Q3 2024, we were at 90% feature parity with the /decide endpoint. Q4 will be when we roll out the new feature flag service to all users.

Objective 2: Maintain and improve reliability of the existing feature flag platform (the /decide endpoint)

While we roll out the new feature flag platform, we need to maintain and improve reliability of the existing feature flag platform, which mostly consists of:

  • Fixing bugs in the existing feature flag platform
  • Improving alerting and monitoring of the existing feature flag platform
  • Improving the documentation of the existing feature flag platform

Handbook

What this team does

We build the feature flag platform, SDKs, API, and UI to help users safely ship new features and make data-driven decisions.

Here are some of the things we own:

  • Feature flag SDKs - SDKs in JS/TS, Python, Rust, PHP, Go, Ruby, iOS, Flutter,and Android.
  • Feature flag API - both the soon-to-be-legacy /decide endpoint and the new /flags endpoint
  • Flag manager UI - a way to manage your feature flags in PostHog

We write Rust, Python, and TypeScript. We're big fans of automated testing, static types, and banter.

Slack channel

#team-feature-flags

Feature ownership

You can find out more about the features we (and the other teams) own here