Catalogue / netflix-2024-distributed-counter

Netflix serves close to 75K counter requests per second globally, on EVCache for best-effort counts and Cassandra event rollups for durable ones

Netflix, 2024. Distributed Counter Abstraction.

Organisation
Netflix
Evidence
Reported from production
Source
Netflix's Distributed Counter Abstraction

Netflix TechBlog, published 2024-11-12

Records

Decision#d1

Offer Best-Effort counters on EVCache alongside Eventually Consistent global counters instead of probabilistic sketches

Decision#d2

Log idempotent increments in Cassandra TimeSeries and roll up over a lagged immutable window

Decision#d3

Trigger rollups without distributed locks via per-instance in-memory queues, Set coalescing, lastWriteTs and read self-remediation

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free.