Part VII: Process Mesh

The Process Mesh brings BEAM/OTP-class processes, supervision trees, and multi-node distribution to id_effect (ADR 0009).

Crates

  • id_effect_process — local OTP: Process, mailboxes, links/monitors, trap_exit, multi-strategy supervisors, DynamicSupervisor, local registry.
  • id_effect_node — distribution: NodeId, cookie handshake, transports (InMemory/TCP/QUIC), SWIM membership (foca), remote spawn/send/call, process groups (ORSWOT), ClusterSingleton, DistributedSupervisor.

Guarantees (summary)

PrimitiveGuarantee
Local sendOrdered per pair; never lost while alive
Remote sendAt-most-once; ordered per connection epoch
MonitorsExactly one Down
Process groupsEventually consistent
SingletonAt most one holder (CP via lease)

See ADR 0009 for netsplit stories.