Into Production
summary
Uses Elixir in production for ~2½ years to build a game backend platform with binary routers, Ecto-backed Postgres sharding and a message gateway; creates releases with relx/exm instead of deploying source; ships a small migrator tool to run migrations against many schemas; scales beyond the ~100–150 fully‑meshed limit with hidden nodes and a partial mesh over 128 shards and router catalogs; debugs bottlenecks with Observer (reductions and message queues), fixes protocol consolidation, and tunes VM args (+K, kernel_poll) and one VM per machine.
AI-written summary · about
chapters (20)
- 0:00Start
- 0:52Undead Labs
- 1:20Moonrise
- 1:49State of Decay
- 5:19Polymorphism through Types with Protocols
- 16:56Creating a Release
- 23:13Configuring the Release
- 23:32Config Txs File
- 27:49Multi Schema Migration
- 29:18Fully Mesh Clusters
- 30:56Hidden Nodes
- 33:42Erlang Portmap
- 34:57Finding All the Bottlenecks
- 35:17General Tips
- 37:34Applications
- 38:11Process List
- 39:37What Are Reductions
- 40:48Preemptive Scheduling
- 44:13Protocol Consolidation
- 47:56Vm Args








