Skip to main content

Core Concepts

Eleven concepts carry the Myrmic model. Everything else is detail beneath one of them.

ConceptOne-line definition
ApplicationThe boundary a developer declares and reasons about
CellThe unit of logic, state, and identity
SRNA human-readable, hierarchical name chosen for a Cell
SRIThe stable identifier Myrmic derives from an SRN and uses to address the Cell
NodeA device or operating-system process running Myrmic
SwarmNodes that have found each other and behave as one system
CapabilityA function or resource a Node offers and a Cell requires for placement
MessageA directed Command, a published Event, or a later callback
MailboxThe named storage path every Message uses
HandlerThe Cell's reaction to one Message and its state-transition boundary
StateThe Cell's owned memory between interactions

A developer writes the SRN. Myrmic derives the SRI deterministically, so the same SRN produces the same SRI on every Node without a naming registry.

SRN: product-order-021:item-011
SRI: 018f3c2e-9d41-7a52-b3ae-5f0c19c47d11

The model fits together in a natural order:

An Application declares Cells. Each Cell is named by an SRN and addressed by its stable SRI. It runs on a Node inside a swarm, is placed where its required Capabilities exist, receives Messages through its Mailbox, reacts in a Handler, and remembers in its State.

Read the model in order

  1. Applications, Cells, and Identity
  2. Nodes, Capabilities, and the Swarm
  3. Messages and Mailboxes
  4. Handlers, State, and Transactions
  5. Where Data Lives
  6. Recovery Models
  7. Cell Patterns

Concept pages explain what things are. What Myrmic guarantees today states what the current release promises. The Roadmap states what future stages are intended to add.

Cookie Policy