It's a multi region Phoenix app using libcluster to power LiveView. We have some fun ideas for Elixir, we just need to speed up builds.
It's a multi region Phoenix app using libcluster to power LiveView. We have some fun ideas for Elixir, we just need to speed up builds.
I’d love to just push a branch and type flyctl scale and stuff just ends up being clustered. (That’s probably already supported?).
Actually, I’m going to use fly for a couple of our projects. Just realized it. We’re tired of Linode and were prepping to move it all to AWS but I wasn’t looking forward to the devops maintenance for how small the projects currently are.
I actually would love to build an FaaS on top of elixir for our product, that’s ending up accidentally having low-code elements in it. The process isolation you get for nearly free seems like a no brainer for such a platform.
Another potential would be hosting Wordpress.
Having great tutorials for these use cases will be killer.
Clustering is supported, you can set libcluster to use our internal DNS to discover nodes: https://github.com/fly-apps/phoenix-liveview-cluster/blob/ma...
You also need some environment variables: https://github.com/fly-apps/phoenix-liveview-cluster/blob/ma...
And a dockerfile: https://github.com/fly-apps/phoenix-liveview-cluster/blob/ma...
We definitely need tutorials. We're hiring someone specifically to work on the entire Elixir dev UX, so hopefully we'll improve soon.