Core Concepts
Eleven concepts carry the Myrmic model. Everything else is detail beneath one of them.
| Concept | One-line definition |
|---|---|
| Application | The boundary a developer declares and reasons about |
| Cell | The unit of logic, state, and identity |
| SRN | A human-readable, hierarchical name chosen for a Cell |
| SRI | The stable identifier Myrmic derives from an SRN and uses to address the Cell |
| Node | A device or operating-system process running Myrmic |
| Swarm | Nodes that have found each other and behave as one system |
| Capability | A function or resource a Node offers and a Cell requires for placement |
| Message | A directed Command, a published Event, or a later callback |
| Mailbox | The named storage path every Message uses |
| Handler | The Cell's reaction to one Message and its state-transition boundary |
| State | The 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
- Applications, Cells, and Identity
- Nodes, Capabilities, and the Swarm
- Messages and Mailboxes
- Handlers, State, and Transactions
- Where Data Lives
- Recovery Models
- 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.