Raxol. Swarm. Supervisor
(Raxol v2.6.0)
View Source
Supervisor for the distributed swarm subsystem.
Start order matters:
- Discovery -- auto-connects nodes via libcluster (optional)
- NodeMonitor -- provides health data
- CommsManager -- uses health data
- Topology -- subscribes to NodeMonitor, runs elections
- TacticalOverlay -- subscribes to NodeMonitor, syncs CRDTs to peers
Strategy: one_for_one. Each module can crash and restart independently. NodeMonitor re-discovers nodes on restart. CommsManager re-probes links. Topology re-elects. TacticalOverlay re-syncs via anti-entropy.
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec start_link(keyword()) :: Supervisor.on_start()