3 ms·
The general deployment story with elixir leaves a lot to be desired. I hope this is one of the things that you guys are planning to be chatty about! We currentl
by atonse 6y ago
The general deployment story with elixir leaves a lot to be desired. I hope this is one of the things that you guys are planning to be chatty about! We currently use edeliver and it just feels clunky.
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.
- mrkurt 6y agoI have been surprised how little good tooling there is for Elixir, and even full stack in general. Clustering is supported, you can set libcluster to use our internal DNS to discover nodes: https://github.com/fly-apps/phoenix-liveview-cluster/blob/master/config/releases.exs#L23-L31 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/master/entrypoint.sh https://github.com/fly-apps/phoenix-liveview-cluster/blob/ma... And a dockerfile: https://github.com/fly-apps/phoenix-liveview-cluster/blob/master/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.