Going Global with a Normal Phoenix App
Host on the ThinkingElixir Podcast that works at Fly.io and spends a lot of time thinking about and working on deploying Elixir applications globally.
The Elixir and Phoenix combo natively supports clustering and pubsub. This superpower isn’t readily available to most web focused languages and frameworks. Fly.io makes it easy to deploy your application to multiple regions globally. Once you deploy your “regular” Phoenix app into multiple regions you start to run into problems when your database lives on the other side of the globe.
We’ll talk about strategies to take, things to consider, tools available, and future possibilities. Yes, you could re-write your application to work with a non-SQL, multi-master, eventually consistent, distributed database… but that’s not the app we have today. This focuses on taking a “normal” Phoenix app around the world to our users.