~/talk

Elixir and money

Talkat Lambda Days 2017 · 2017-02-09..02-10· [databases]
speakerdeck:tomekowal
slides:none on file

Argues that Elixir handles money by design: it matches CAP tradeoffs so systems choose availability vs strong consistency deliberately, uses Postgres and Ecto.Multi to batch transactional effects, and relies on client-generated UUIDs plus retry-safe PUT semantics to avoid duplicate transfers. Shows a production case on a single Heroku dyno replacing larger Ruby fleets, uses immutability and supervision trees for failures with the let it crash restart model, and reports that this approach actually works in real billing and direct-debit flows.

AI-written summary · about

  1. 0:00Intro
  2. 2:50Financial Systems
  3. 8:20Balances
  4. 9:57Transactions
  5. 14:41Let it crush philosophy
  6. 16:42Fresh state
  7. 18:00Crash philosophy
  8. 18:35Apollo 11 crash
  9. 20:38How the system works
  10. 21:53Two generals problem
  11. 23:26Clientserver architecture
  12. 24:01Retry
  13. 25:43Summary
  14. 26:19Testing
  15. 26:58Pipe chain
  16. 27:54Plug
  17. 29:52Multi
  18. 30:47Data structure
  19. 31:31Reading from database
  20. 32:20Repo module
  21. 32:42Other benefits
  22. 35:12Drawbacks
  23. 39:22Questions
~/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.