~/talk

Wikimedia Content API: A Cassandra Use-case

Talkat Strange Loop 2016 · 2016-09-16..09-17· [databases, web-performance]
links:none on file
slides:none on file

Wikimedia serves ~18 billion monthly page views and builds a public content API that stores full-history rendered HTML for revisions using parsoid + restbase cache backed by Apache Cassandra 2.2.6. The production footprint is a 54-node cluster spanning two data centers on beefy hosts (16 cores, 128 GB) with 18 physical machines running multiple Cassandra processes, vnodes=256. Surprising operational notes: deflate with 512k chunking yields much better compression, compaction strategies (DTCS vs size tiered) and overlapping-table tombstones cause space pain, and G1 GC needs region-size tuning.

AI-written summary · about

  1. 0:00Start
  2. 2:24LAMP
  3. 4:07WYSIWYG
  4. 4:39Conversion
  5. 5:02Character-based diffs
  6. 5:22Metadata
  7. 6:40Parsoid
  8. 7:54RESTBase
  9. 8:52Environment
  10. 10:45key-revision-value
  11. 12:31Data model
  12. 14:09Brotli compression
  13. 16:41Compaction strategies
  14. 21:05The Overlapping Tables Problem
  15. 23:42Humongous objects
  16. 25:12Motivation
  17. 26:24What we do
  18. 27:07What we should have done
~/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.