~/talk

Petabyte-scale Log management in Postgres using Bagger

Talkat FOSSASIA PGDay 2025 · on Friday, 2025-03-14· at 16:40· Hall 2· [databases, data-engineering]
slides:none on file

Bagger manages petabyte-scale logs by ingesting JSON into Kafka and sharding writes into Postgres pairs, replacing a previous ElasticSearch setup that failed at ~1 PB. It claims linear write scalability, measures Postgres write amplification around 4x versus Cassandra 8x, and uses a C-language trigger plus Perl tooling for ingest and topology control. Metadata servers, node control and CD replication exist, the C trigger is in final development and a streaming query proxy is pending; experiments include ZFS compression and compiling Postgres with up to 32KB blocks.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:27Elasticsearch limitations at petabyte scale
  3. 2:52Why Postgres for log management
  4. 4:17Open-sourcing the predecessor project
  5. 5:40Design choices for Bagger
  6. 7:07Data flow architecture
  7. 8:55Current project status
  8. 10:20Future improvements and trade-offs
  9. 13:09Key lessons in distributed data
  10. 15:36Specialization vs generalization
  11. 16:04Q&A: Production use and alternatives
  12. 18:32Q&A: Columnar databases and compression
  13. 21:59Q&A: Query proxy workloads
~/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.