Clustering for your Elixir / Phoenix App
Elixir apps support clustering out of the box. Clustering can bring many advantages like:
- Distributed caching
- Fault tolerance
- Distributing workload across cluster
libcluster
If you wish to use clustering in your application please make sure you have :libcluster
installed as a dependency. We also have a hex package that will make clustering in your application easy.
Then simply add the following to your runtime config.
This will enable automated clustering for your application inside the OpsMaru provisioned cluster.