~/talk

Lessons learned scaling our SaaS on Postgres to 8+ billion events

Talkat Citus Con: An Event for Postgres 2022 · 2022-04-12..04-13· [databases]
slides:none on file

ConvertFlow scales from Rails on Heroku Postgres to a Citus sharded cluster on Azure, processing 8.7 billion events and serving ~40M monthly visitors; switching off Firebase cuts cloud costs. Shard analytics by tenant ID with Citus (Hyperscale) to get 2–4x faster queries, use rollup tables and daily increments to reduce query work, reindex CONCURRENTLY to avoid locks, and perform a bigint migration for primary keys with a short maintenance window.

AI-written summary · about

  1. 0:00Introduction
  2. 0:58What is Convertflow
  3. 2:27From 0 to 1M events
  4. 6:42From 1M to 100M events
  5. 8:57From 100M to 1B events
  6. 12:13From 1B to multiple billion events
  7. 15:03Bigint migration
  8. 16:08Migration to Hyperscale (Citus)
  9. 17:19Lessons learned recap
~/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.