Actor Model¶
An actor owns state, processes one message at a time, and communicates only by messages.
flowchart LR
J[Junior: actor ownership] --> M[Middle: behavior] --> S[Senior: supervision] --> P[Professional: runtime design]
flowchart LR
Sender --> Mailbox --> Actor --> State[(Private state)]
Actor --> Other[Other actor]
| Level | Guide | You are done when |
|---|---|---|
| Junior | Start | You can explain actor isolation. |
| Middle | Apply | You can design messages and behavior. |
| Senior | Operate | You can control failure and mailbox growth. |
| Professional | Design | You can evaluate actor runtime trade-offs. |
Practice rule: Keep actor state private and mailbox capacity visible.