Systems · Patterns

Approximate counters

Trade exactness for write scalability with explicit error bounds.

Approximate counters

What it is

Shards, sketches, windowed aggregates labeled as approximate.

When to use

Trends, UX dashboards, heavy impression streams.

Failure mode

Using approximates for billing; hiding error bars.

Lessons