~/talk

Scaling Oban Applications

Talkat ElixirConf EU 2024 · 2024-04-18..04-19· [elixir-and-erlang, databases]
links:none on file
speakerdeck:sorentwo
slides:none on file

Oban runs as Elixir + Postgres and the talk shows concrete scale fixes: Postgres features (skip locked, jsonb, reindex concurrent, btree dedup) and Oban config changes let a single laptop sustain ~700k jobs/min (they claim 1.4 billion/day and prior tests near 1M/min to 2M/sec in lab). Practical actions include disable triggers for bulk inserts, switch to the PG notifier, use the reindexer plugin, partition/drop old tables, and add a dedicated repo/pool for Oban; the live demo attempts to run the billion‑job workload but fails on stage.

AI-written summary · about

  1. 0:00Welcome
  2. 1:48Why systems scale or don't
  3. 2:53Elixir and PostgreSQL strengths
  4. 4:00PostgreSQL as job queue
  5. 5:28Oban for massive scale
  6. 6:49Live demo teaser and tuning
  7. 7:31Tips to minimize DB impact
  8. 10:27Real problems and solutions
  9. 11:54Fixing PubSub bottlenecks
  10. 12:56Disabling triggers for bulk inserts
  11. 13:38Preventing index bloat
  12. 15:04Optimizing bulk unique inserts
  13. 16:49Solving Ecto timeouts under load
  14. 17:54Managing table bloat
  15. 19:39Handling connection errors
  16. 21:47Top tips for scaling Oban
  17. 22:30Live demo and config walkthrough
  18. 25:02Closing
~/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.