~/talk

Lessons learned: Migrating from AWS-Hosted PostgreSQL RDS to Self-Hosted Citus

Talkat Citus Con: An Event for Postgres 2023 · 2023-04-18..04-19· [databases]
links:none on file
slides:none on file

Jellyfish moves from AWS RDS to self-hosted Citus to cut a roughly 40% RDS premium, build a sharded cluster and actually scale; work includes denormalizing customer_id denormalization into most tables, changing PKs/FKs/unique constraints (billions of rows updated), and adding PG BackRest, PG Bouncer connection pooling and Patron for HA. Django multitenant tools cover ~80% of cases but some WHERE-clause rewrites blow up queries by 100x–1000x; rollout uses a slow multi‑DB migration rather than a big bang.

AI-written summary · about

  1. 0:00Introduction
  2. 2:16Directed Acyclic Graph (DAG) at Jellyfish
  3. 4:48Why Citus?
  4. 8:16Infrastructure Design Choices
  5. 12:03What needs to happen to your database schema
  6. 15:58Changes to your codebase
  7. 18:43Our Rollout Strategy
  8. 20:52Wrap-Up & what we’re excited about
~/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.