Elixir and Money
summary
Argues that Elixir suits a small, single-node financial service and shows what is actually built and how it behaves: Postgres-backed ledger with amounts stored as integers, Decimal only for UI, tests running ~3 seconds, idempotent requests via client-generated UUIDs, coordinated DB writes using Ecto.Multi, and failure recovery by design using let it crash restarts plus client retry. Demonstrates the system works in production and explains tradeoffs between ACID and BASE choices.
AI-written summary · about
chapters (17)
- 0:00Start
- 3:07Consistency in ACID
- 3:31Isolation in ACID
- 5:10Consistency in CAP
- 5:24Consistency in consistency models
- 13:40Let it crash
- 16:11Primary Guidance, Navigation and Control System
- 23:14Testing in imperative programming
- 23:27Testing in functional programming
- 23:50Pipe operator
- 24:23Testing plug
- 25:38Dealing with side effects
- 26:57Testing Multi
- 28:35Testing explicit contract
- 28:57Other benefits
- 32:21Tradeoffs
- 35:25Summary








