macula_platform_system (macula v0.14.3)

View Source

Macula Platform System Supervisor.

This supervisor manages the platform layer services that provide distributed coordination primitives for workloads.

Platform Services (v0.14.0+): - CRDT-based shared state (LWW-Register, OR-Set, G-Counter, PN-Counter) - Gossip-based state synchronization (future: macula_crdt_gossip) - Coordination Primitives (locks, barriers, etc. - future)

Architecture:

   macula_root
    [infrastructure: routing, bootstrap, gateway, peers]
    macula_platform_system (this module)
        (future: macula_crdt_gossip for state sync)
   

Note: Ra/Raft was removed in v0.14.0. Macula uses CRDTs for eventually-consistent state management without leader election. See architecture/ROADMAP.md for details.

Summary

Functions

Initialize the platform system supervisor. Currently no child processes - CRDT operations are stateless. Future: Add macula_crdt_gossip for state synchronization.

Start the platform system supervisor.

Functions

init(Config)

Initialize the platform system supervisor. Currently no child processes - CRDT operations are stateless. Future: Add macula_crdt_gossip for state synchronization.

start_link(Config)

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

Start the platform system supervisor.