~/talk

The horror story of MySQL 'Dumper'

Talkat DivOps 2020 · on Friday, 2020-03-27· [software-architecture, devops-and-delivery]
links:none on file
slides:none on file

A legacy Paper pipeline reads 9 MySQL tables with tens of millions of rows, streams rows row-by-row and initially takes ~500→400→43 minutes after fixes. Practical wins: move processing to dedicated EC2 hosts, switch from C4xlarge to C5 for 10 Gbps network, hoist a regex out of the per-row loop for a 4x micro-optimization and 10x overall speedup, add metrics/alerts, use DB cursors + Redis offsets, shard work across instances and add rate limiting to survive downstream QPS limits.

AI-written summary · about

  1. 0:00Start
  2. 0:14AGATA CIEPLIK
  3. 1:46Dropbox Paper
  4. 3:29Tech stack
  5. 5:03Initial state of things
  6. 7:02Mysqldumper's network usage
  7. 8:17What is happening when processing a single row?
  8. 9:09Taking things out of the loop!
  9. 10:31Introducing database cursor
  10. 14:36Mysqldumper's simplified diagram
  11. 14:48Mysqldumper's actual diagram
  12. 17:07The end result: success!
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.