~/talk

ToroDB internals: open source Java database middleware under the hood

Talkat Joker 2017 · 2017-11-03..11-04· [java]
slides:none on file

ToroDB Stampede is an open‑source Java8 middleware (≈150,000 LOC) that live-replicates MongoDB into a pure relational schema without predefining tables, mapping nested documents to many tables and reconstructing documents via internal IDs. Core tech includes Netty for protocol I/O with off‑heap ByteBufs, Akka Streams for a backpressured replication pipeline, and Chronicle Queue for durable off‑heap buffering. DDL during streaming uses a stop‑the‑world rollback-and-retry strategy; string interning + Guava cuts memory use from gigabytes to ~300MB; analytics show 10–100× faster queries.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:27What is ToroDB
  3. 5:43Live demonstration
  4. 12:20Architecture overview
  5. 17:47Document to table mapping
  6. 23:14Replication pipeline
  7. 28:32DDL changes handling
  8. 34:49Parallel operations applier
  9. 39:01Memory and performance optimizations
  10. 45:25Sharding support
  11. 47:12Dependency injection challenges
  12. 51:31Testing with Docker and JUnit 5
  13. 54:09Q&A: Initial sync and consistency
~/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.