Content Deep Dive
Building a Distributed Turn-Based Game System in Elixir
Blog post from Fly.io
Post Details
Company
Date Published
Author
Mark Ericksen
Word Count
1,348
Language
English
Hacker News Points
352
Summary
The author describes their experience building a fully distributed, clustered, privately networked, global game server system using Elixir and the Phoenix LiveView feature. They emphasize that they didn't need to build a JavaScript front-end or an API for transferring data between the front-end and back-end. Instead, they used Phoenix.PubSub and Horde library for process registry. The author also highlights the benefits of hosting their application on Fly.io, which provides private networked connections and multi-region support. They conclude by expressing satisfaction with the results and encouraging others to build more interesting games using this system.