4 ms·
I 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 i
by mrkurt 6y ago
I 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.