View Source Cluster.Strategy.LocalEpmd (libcluster v3.3.3)

This clustering strategy relies on Erlang's built-in distribution protocol.

Unlike Cluster.Strategy.Empd, this strategy assumes that all nodes are on the local host and can be discovered by epmd.

Make sure epmd is started before you start your application, or startup will fail. When running with mix, you can do this automatically by passing the --name or --sname flag to start distribution.

It should be configured as follows:

config :libcluster,
  topologies: [
    local_epmd_example: [
      strategy: Elixir.Cluster.Strategy.LocalEpmd]]

Link to this section Summary

Link to this section Functions

Callback implementation for Cluster.Strategy.start_link/1.