Catalogue

Cards
165
Records
486
Workloads
19
Corpus version
74847648e25a
Workload
Kind
Setup

11 of 486 records match.

KindRecordOrganisationYearSetup
Decision

Store user segment membership for 270M+ users in roaring bitmaps downloaded from S3 at startup instead of Bloom filters

grab-2023-frequency-capping#d1

Grab2023Sharded
Decision

Enforce per-user frequency caps with a Redis sorted-set sliding log instead of DynamoDB or a sliding window limiter

grab-2023-frequency-capping#d2

Grab2023Sharded
Decision

Preload the Lua script via SCRIPT LOAD and pipeline per-user EVALSHA calls to avoid Redis Cluster CROSSSLOT errors

grab-2023-frequency-capping#d3

Grab2023Sharded
Decision

Migrate chat history from a single MongoDB replica set to Cassandra once data and index outgrew RAM

discord-2017-message-storage#d1

Discord2017Sharded
Decision

Bound Cassandra partition sizes with 10-day time buckets and Snowflake clustering keys

discord-2017-message-storage#d2

Discord2017Sharded
Decision

Delete corrupt edit/delete race rows when author_id is null and omit null columns on Cassandra writes

discord-2017-message-storage#d3

Discord2017Sharded
Failure

Millions of message tombstones in one channel triggered 10-second Cassandra stop-the-world GC pauses

discord-2017-message-storage#f1

Discord2017Sharded
Decision

Serve every Q&A site from one multi-tenant application and keep web servers overprovisioned

stackoverflow-2016-architecture#d1peak under 10,000 requests/s

Stack Overflow2016Sharded
Decision

Use Elasticsearch for search instead of SQL Server full-text search, because SQL CPUs are expensive

stackoverflow-2016-architecture#d2peak under 10,000 requests/s

Stack Overflow2016Sharded
Decision

Cache in two layers, a web-server HTTP cache and Redis, and clear the first layer through Redis pub/sub

stackoverflow-2016-architecture#d3peak under 10,000 requests/s

Stack Overflow2016Sharded
Decision

Push updates to browsers over websockets, which are more efficient than polling, at the cost of load balancer port exhaustion

stackoverflow-2016-architecture#d4peak under 10,000 requests/s

Stack Overflow2016Sharded