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

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

Unlike Cluster.Strategy.Epmd, 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]]

Summary

Functions

Callback implementation for Cluster.Strategy.start_link/1.