~/talk

Parallel Asynchronous Replication b/t YDB Database Instances

Talkat Hydra 2022 · 2022-06-02..06-26· [databases, distributed-systems]
links:none on file
links:none on file
slides:none on file

YDB implements asynchronous cross-cluster replication by streaming tablet change logs into Kafka-like light topics with multiple partitions, hashing each change by primary key so a given row’s updates go to the same partition (hash-by-primary-key). Each tablet acts as a producer with monotonic producer IDs so the partition can tell which records it already saw and dedupe; tablets emit hard-beat records when idle so consumers can advance barriers. Per-partition consumers plus a replication controller form a quantum-based barrier (Calvin-style timestamps) to publish consistent, read-ready snapshots on the target; feature lands in the next major release and is in open source.

AI-written summary · about

  1. 0:00Introduction
  2. 1:07What is YDB and problem setup
  3. 7:40Need for async replication
  4. 10:47Async replication requirements
  5. 11:08YDB architecture components
  6. 15:43Replication issues in distributed systems
  7. 21:27Data log solution
  8. 23:57Partitioning topic records
  9. 27:50Handling duplicates and log growth
  10. 32:33Replicating to target cluster
  11. 33:36Distributed transactions and consistency
  12. 41:22Consistent snapshots on replica
  13. 48:56Summary and future plans
  14. 50:46Q&A
~/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.