GigCityElixir23 - Bryan Hunter
summary
HCA builds Waterpark in Elixir on the Erlang VM as a RAM-based distributed database with no external DB, running a 32-node, four–datacenter cluster of peers. Each human maps to a patient actor per human that holds full event history (some actors accumulate ~50,000 messages) and uses consistent hashing, process pairs, libring, scalable Bloom filters and an MIT HL7 library. Writes replicate to five nodes and ack after three; the system achieves continuous availability (zero unplanned downtime for 3+ years) and surfaces alerts like organ-donor notices ~90 hours earlier.
AI-written summary · about
chapters (18)
- 0:00Introduction and speaker welcome
- 1:11HCA Healthcare and project background
- 4:42Project Waterpark overview
- 8:52Why Waterpark is unique
- 12:22Erlang VM actor model explained
- 18:21Patient actors as digital twins
- 23:57HL7 library and Bloom filters
- 28:12High availability architecture
- 34:42Process pairs and fault tolerance
- 37:51Consistent hashing for process location
- 40:22Location transparency and mail rooms
- 44:32Hot code loading and dark launches
- 48:20Universal servers and plugins
- 50:50Real-world impact during pandemic
- 53:20Bariatric alerts saving lives
- 56:10Organ donor alerts pilot
- 58:35Strangler pattern and Floaty project
- 1:00:22Closing thoughts and Q&A
