~/talk

Rethinking Message Queues: PostgreSQL's Role

Talkat FOSSASIA PGDay 2025 · on Friday, 2025-03-14· [databases, microservices]
slides:none on file

Argues that PostgreSQL can replace a separate broker for many use cases by implementing a jobs table queue and a push channel, showing LISTEN/NOTIFY for low‑latency non‑durable pushes and a pull pattern using FOR UPDATE ... SKIP LOCKED that raises concurrent throughput by orders of magnitude in demos. Demonstrates retries, dead‑letter tables and priority columns, warns of table bloat, index decay and long transactions, recommends vacuum tuning or partitioning/truncation for workloads above thousand jobs per minute.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 0:44What is a message queue
  3. 2:46Evolution of message queues
  4. 4:11Why PostgreSQL fits message queues
  5. 5:12Push vs pull message consumption
  6. 9:01Handling concurrent message processing
  7. 11:05Real-world challenges with PostgreSQL queues
  8. 13:57Implementing queuing features in PostgreSQL
  9. 15:22When to choose PostgreSQL over other queues
  10. 18:30Q&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.