~/talk

Real Time Analytics with MongoDB

Talkat Confitura 2013 · 2013-07-02..07-03· [databases, data-engineering]
name:Ingo Dyck
links:none on file
links:none on file
slides:none on file

Replaces an 8–10 hour daily MySQL batch with real‑time counting at ~1,200 events/sec by writing raw hits into MongoDB and using atomic $inc upserts to keep per‑ad, per‑publisher tallies for daily, monthly and total views. Uses replica sets then sharding with a compound shard key (customerId + adId) to avoid hot shards, schedules the balancer to avoid IO spikes, and avoids mapReduce limits (single‑threaded JS, 10k grouping, writes to primary). Logs hit volume ~43M/day (~2GB indexes/day); next step is a Node.js REST API.

AI-written summary · about

  1. 0:00Start
  2. 0:23Realtime Analytics with MongoDB
  3. 23:31choose your shard key wisely
  4. 37:16Business requirements
~/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.