~/talk

Cassandra at Yammer #bbuzz

Talkat Berlin Buzzwords 2015 · 2015-05-31..06-03· [databases]
links:none on file
slides:none on file

Yammer migrates its inbox index from a Berkeley DB backend to Cassandra, using shadow deploys, double dispatch and integration tests to validate semantics. The inbox is read-heavy — half a billion reads a day with spikes that can fan out to 300,000 inboxes — so the first Cassandra schema (secondary indices, CRDTs) fails under migration load. Redesigned to partition by inbox/thread, use leveled compaction, probabilistic asynchronous trimming, shorter tombstone grace and frequent repairs, achieving P99 250ms but triggering a major outage three months later that prompts bulkhead timeouts and operational hardening.

AI-written summary · about

  1. 0:00Introduction and Yammer overview
  2. 1:12Problem with legacy inbox service
  3. 4:26Why extract the inbox feature
  4. 7:33Methodology and migration approach
  5. 9:19Choosing Cassandra over Riak
  6. 11:26First Cassandra data model attempt
  7. 14:55Redesigning for Cassandra strengths
  8. 17:44Understanding Cassandra compaction
  9. 19:50Optimizing unread count queries
  10. 21:59Production outage and root cause
  11. 23:03Fixing compaction and trimming issues
  12. 25:31Implementing bulkhead pattern
  13. 27:16Failure isolation and impact
  14. 28:43What worked well in the rollout
  15. 30:09Lessons learned with new tech
  16. 31:32Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.