Using libcluster with the libcluster_hop strategy, you can easily create a clustered Elixir application on Hop. All nodes (containers) will be connected to each other.
This repo contains an example application which utilizes libcluster_hop
.
Follow the Elixir Cluster quickstart guide.
You can find this app running here: https://libcluster-hop.hop.sh
Refresh to see the load balancing in action.
Special thanks to community member Scott Hiett for creating the libcluster_hop strategy.