~/talk

Always Available

Talkat ElixirConf EU 2017 · 2017-05-04..05-05· [web-performance]
slides:none on file

A Phoenix app called Libra keeps page inspection state in memory and continues serving results when PostgreSQL is down by running a GenServer per inspection that fetches assets, answers queries from its own state, and eventually persists as a backup. Workers register in a local registry and are supervised with a one-for-one supervisor. Each inspection enforces 24-hour self-expiry, retries DB operations with targeted rescue and backoff, and works on a single node; multi-node availability needs replication or a different datastore.

AI-written summary · about

  1. 0:00Introduction
  2. 1:11Backstory
  3. 2:24Developers
  4. 3:33Multiple Sources
  5. 4:00Predictable State
  6. 4:25Availability
  7. 5:47Libra
  8. 6:20Browser
  9. 10:34Availability Score
  10. 11:27Database Outage
  11. 11:41Master Plan
  12. 14:32Inspector Worker
  13. 14:47Inspector Worker Responsibilities
  14. 18:17Benefits
  15. 19:47Isolation
  16. 20:19Supervisor
  17. 23:35Registry
  18. 26:03Public API
  19. 28:38Surviving DB outages
  20. 29:43Try rescue
  21. 36:08Design for ability
  22. 36:39Any questions
~/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.