Skip to content

Message Passing

Components exchange explicit messages instead of changing the same state.

flowchart LR J[Junior: send messages] --> M[Middle: define delivery] --> S[Senior: handle failure] --> P[Professional: govern the protocol]
flowchart LR Producer --> Queue[(Mailbox or broker)] --> Consumer Consumer --> State[(Owned state)]
Level Guide You are done when
Junior Start You can explain ownership transfer.
Middle Apply You can choose delivery and ordering rules.
Senior Operate You can recover from duplicates and overload.
Professional Design You can evolve and operate a message protocol.

Practice rule: Make message identity, ownership, capacity, and failure behavior explicit.

Actors | CSP | Channels