~/talk

Change Streams Don't Work

Talkat Percona Live 2022 · 2022-05-16..05-18· [databases]
links:none on file
slides:none on file

Claim: MongoDB change streams fail to handle a large, write‑heavy sharded cluster reliably. Setup uses oplog, aggregation pipelines, resume tokens and fullDocument lookup against a cluster with 8 shards × 4 members = 32 data nodes, ~7 billion documents and ~128 TB storage. Built a resumable stream to mirror a dump/restore migration, but lookup overhead, resume window limits, batching latency and shard migration/orphaned‑document complexity make it lag and sometimes return empty results, so the migration approach does not work at scale.

AI-written summary · about

  1. 0:00Start
  2. 15:25oplog.rs
  3. 30:18Event emitter
  4. 31:14while loop
  5. 31:24change event
  6. 33:24Resume token
  7. 35:14Filtering events
~/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.