~/talk

Distributed snapshots and global deadlock detection

Talkat PGCon 2020 · 2020-05-26..05-29· [distributed-systems, databases]
links:none on file
links:none on file
slides:none on file

Implements MVCC for a Postgres-based sharded system (Greenplum fork) by having the master assign distributed snapshots and distributed transaction IDs while each foreign server keeps local XIDs and a mapping to distributed IDs; visibility uses the distributed snapshot when a mapping exists and falls back to local snapshots otherwise, and mappings expire once a distributed XID is older than the snapshot’s oldest running XID. Adds a centralized background worker that builds a global wait-for graph, classifies dotted edges versus solid locks, removes nonblocking nodes greedily, and cancels a chosen session to break detected global deadlocks.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:58Sharding setup and problem
  3. 6:37Snapshot fundamentals
  4. 10:57Root cause analysis
  5. 12:03Distributed snapshots solution
  6. 17:48Mapping transaction IDs
  7. 21:29Recap of distributed snapshots
  8. 22:55Introduction to deadlock detection
  9. 24:00Single node deadlock example
  10. 24:43Global deadlock in clusters
  11. 26:11Postgres FDW cluster case
  12. 27:12Global deadlock detector design
  13. 28:15Wait-for graph construction
  14. 31:09Dialogue detection algorithm
  15. 32:54Eliminating unrelated nodes
  16. 35:02Case study one
  17. 37:35Case study two
  18. 40:02Q&A session
~/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.