Building a Distributed Turn-Based Game System in Elixir
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.
Company
Fly.io
Date published
April 29, 2021
Author(s)
Mark Ericksen
Word count
1348
Language
English
Hacker News points
352