Work in Progress

flagd

Self-hosted feature flag service. One binary. Zero dependencies. Ship with confidence.

Why flagd?

Everything you need to ship features safely, in a single binary your team controls.

Sub-millisecond Evaluation

In-memory cache serves flags in microseconds. No database queries on the hot path.

📦

Single Binary

One executable, embedded web UI, SQLite built-in. Just run it. No infrastructure needed.

🔐

Self-Hosted

Runs on your infrastructure. Your data never leaves your network. Full control.

💻

4 SDKs

Go, Python, Node.js, Java (Spring Boot). Zero external dependencies in each SDK.

Kubernetes Ready

Helm chart included. SQLite for dev, PostgreSQL for production HA with pg_notify.

🏠

Two Tiers

Standard (SQLite) and Enterprise (PostgreSQL HA, SSO, audit export). License-key gated.

Live

Live Demo: Three Transports, Same Flagd

Same flag data pushed through three different channels in parallel. Open the admin panel in another tab, toggle a flag, and watch each panel's latency.

Short Polling

GET /api/flags every 5s, ETag cached
FlagStatus
Updates up to 5s late no updates yet

Long Polling

GET /api/flags/longpoll — hangs until change
FlagStatus
Near-realtime via hanging GET no updates yet

SSE Streaming

GET /api/stream — Server-Sent Events
FlagStatus
Pushed the moment flagd changes no updates yet

Feature Flag in Action

Toggle checkout.new-flow in the admin panel to see this change (driven by the SSE panel):

How It Works

Simple architecture. No moving parts.

Admin UI Your App | | | toggle flag | client.BoolVariation("flag", false) v | (reads from local cache, sub-ms) +---------+ poll / longpoll / SSE | | flagd | <----------------------------+ | | GET /sdk/v1/flags + etag | cache | +---------+ | v SQLite / PostgreSQL

Roadmap

What's coming next. Built incrementally, shipped as updates to the same binary.

Demo Live
SSE Streaming

Sub-second flag propagation via Server-Sent Events (see demo above)

Coming Soon
String & JSON Flags

Beyond boolean — serve config values and A/B variants

Planned
User Targeting

Percentage rollouts, user segments, targeting rules

Planned
MySQL & Redis

More storage backends. Redis for cross-pod cache sync

Planned
WebSocket & gRPC

Bidirectional streaming for high-throughput environments

Planned
More SDKs

Ruby, PHP, .NET, Rust, mobile (iOS/Android)

Interested?

flagd is built for teams that want feature flags without the SaaS dependency.

Get in Touch
This product is under active development. Features and pricing are subject to change.