When scaling feature flags to 10M evals/sec, stream JSON-Patch deltas via SSE and deduplicate exposures 100:1 in SDKs.
TL;DR30-second simplified summary▾
Delivers <500ms kill-switch convergence and protects ClickHouse from raw telemetry floods.
0.01ms Atomic Snapshot Evaluation & LKG Fallback.
Why this matters: Eliminate network hops from application flag checks.
Application threads read an AtomicReference<RulesetSnapshot> with zero locks. If SSE disconnects on startup, the SDK loads a Last-Known-Good disk snapshot or safe default.
100:1 Exposure Deduplication & SRM Gate.
Why this matters: Protect analytics storage and detect biased experiment splits early.
An SDK-side LRU cache suppresses repeated (user_id, flag_key, variant) exposure logs within a 60s window, shrinking 10M evals/s to 100k events/s into Kafka and ClickHouse.
Practice: Make the trade-off yourself.
Why do feature flag SDKs evaluate rules locally in memory instead of calling a central microservice?