macula_dist_system (macula v0.14.3)

View Source

Macula Distribution System Supervisor.

This supervisor manages the distribution subsystem components:

- macula_dist_discovery - Decentralized node discovery (replaces EPMD) - macula_cluster_strategy - Automatic cluster formation

Startup: The distribution system starts automatically with macula application. Can also be started manually with macula_dist_system:start_link(Opts).

Configuration options (in sys.config): dist_port - QUIC port (default 4433) discovery_type - mdns, dht, or both auto_cluster - automatically form cluster

Summary

Functions

Start the distribution system supervisor with default options.

Start the distribution system supervisor with options.

Functions

start_link()

-spec start_link() -> {ok, pid()} | {error, term()}.

Start the distribution system supervisor with default options.

start_link(Opts)

-spec start_link(map()) -> {ok, pid()} | {error, term()}.

Start the distribution system supervisor with options.