~/talk

Sharding Postgres without doing it yourself

TalkinRussianat HighLoad++ 2023 · 2023-11-27..11-28· [databases]
links:none on file
links:none on file
slides:none on file

A production-ready, open-source stateless Postgres query router for horizontal scaling via sharding is presented. It implements the Postgres protocol, is written in Go, and is intended to enable transparent sharding of PostgreSQL databases without building a custom sharding layer.

AI-written summary · about

  1. 0:00Introduction
  2. 1:52Problem statement
  3. 3:49Why sharding is necessary
  4. 5:51SPQR architecture
  5. 9:45SPQR router
  6. 12:13Coordinator and balancing
  7. 13:19Importance of balancing
  8. 14:28Performance challenges
  9. 16:35Query parser improvements
  10. 16:57TPC-C benchmark
  11. 19:30Live demo
  12. 23:25Open source
  13. 24:07Call to action
  14. 24:53Q&A
  15. 25:14Consistent hashing
  16. 28:06Cross-shard transactions
  17. 30:17Multi-shard requests
  18. 31:41Comparison with others
  19. 32:26When to use SPQR
  20. 33:10Development background
  21. 33:31SPQR name origin
  22. 34:13Request cancellation
  23. 34:58Sharding key config
  24. 36:24Multi-table rules
  25. 37:09Stateless router
  26. 37:29Routing reads/writes
  27. 38:15Target audience
  28. 39:27Index and field support
  29. 40:09Final Q&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.