~/talk

Building Petabyte-Scale PostgreSQL Deployments

Talkat PGConf.dev 2024 · 2024-05-28..05-31· [databases]
links:none on file
slides:none on file

Replaces ElasticSearch after hitting a 1PB limit, citing long GC pauses and cluster rebalances, and builds Bagger: a Kafka-first ingestion pipeline that writes each JSONB message to two Postgres nodes for redundancy, parses JSONB in a C trigger, and ships a patched Postgres (index key limit raised) to support 48 indexed fields. System reports linear write throughput to 10 PB (≈3 TB/day initially, 30-day retention); read queries hit every node so read scalability is limited, but ingestion design works.

AI-written summary · about

  1. 0:00Introduction to Bagger
  2. 1:15Speaker background and talk overview
  3. 2:01Elasticsearch limitations at petabyte scale
  4. 6:25Why PostgreSQL for Bagger
  5. 9:09Design tradeoffs in distributed systems
  6. 13:12Open-sourcing the original Bagger
  7. 15:42Rebuilding Bagger in open source
  8. 21:42Data flow and architecture
  9. 27:15Current development status
  10. 28:52Future plans beyond GA
  11. 31:53Key tradeoffs in scalability
  12. 37:41Q&A session
~/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.