~/talk

Waiting for Commit

Talkat PostgreSQL Conference Europe 2025 · 2025-10-21..10-24· [databases]
links:none on file
slides:none on file

Explains why synchronus replication can turn millisecond tail latencies into system-wide pauses via head-of-line blocking, gives measured timings (bare-metal commits ~0.3 ms, cross-AZ a few ms, packet loss ~0.1%), and shows troubleshooting with pg_stat_activity + perf record (and a small perf-analysis tool) to find OS/IO/network slow paths. Recommends quorum commit with ≥2 replicas to hide tails, warns about promotion logic, and suggests Patroni for safe automated failover.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03Why replicate data
  3. 3:30Synchronous replication basics
  4. 4:57How Postgres WAL works
  5. 8:08Commit process in detail
  6. 10:53When things go wrong
  7. 13:25Sync levels and trade-offs
  8. 15:51Consistency pitfalls
  9. 18:00Detecting performance issues
  10. 20:36Solutions and optimizations
  11. 22:46Summary and recommendations
  12. 23:35Q&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.