🔗 Elixir: clustering on kubernetes
yellowduck.be·8h
☸️Kubernetes
Preview
Report Post

131 words, 1 min read

⚠️ This post links to an external website. ⚠️

When developing Elixir applications, you may want to create a cluster of Erlang nodes at some point, for example, to provide redundancy, high availability, or to share a global state on the cluster (with Mnesia, for example) without hitting an outside DBMS.

This can be easily achieved with libcluster. As you can see in the docs, it supports multiple strategies.

I’ll assume you want to deploy to a Kubernetes cluster, and I’ll be covering this strategy only (Cluster.Strategy.Kubernetes) for simplicity sake, but you may find some bits interesting even if that doesn’t apply to your case. I’ll also assume that you already have a working basic Kubernetes deploym…

Similar Posts

Loading similar posts...