Into Production
summary
Built an Elixir based online game backend for Moonrise running on Elixir 0.9.0, with routers, lobby/world/combat services and a Postgres datastore sharded into 128 shards. Uses mix, ecto, Phoenix, exrm/relx for releases, and a custom migrator to run migrations without starting the app. Hits scale limits when nodes fully mesh (~100–150 connections) so production uses discovery with hidden nodes and partially meshed topology, observer for process bottlenecks, and tuning around reductions and the Erlang scheduler; the tech works and is reused.
AI-written summary · about
chapters (12)
- 0:00Intro
- 2:44The Online Game Space
- 11:13Why Elixir
- 13:58Undead Infrastructure
- 20:15Postgres Schema
- 22:10Creating a Release
- 24:51Whats in a Release
- 26:13OTP Applications
- 30:57Deploy
- 34:09Fully Meshed
- 36:57Process bottlenecks
- 39:05Outro
related talks
49mInto Production
45mProductive. Reliable. Fast.
53mBuilding Performant Backends with Elixir
24mElixir-powered Low-income Animal Shelter Support: an Experience Report from Conception(…)
18mRaspberry Pi Cluster with the Power of Elixir
37mDeploying Elixir
48mZero Support in Production
44mThe future of Deployment in Elixir
