Actors communicate by messages instead of directly mutating one another’s state. Each actor processes a mailbox message and updates state it owns.
Message order and delivery failures still need design. A hot actor can become a mailbox bottleneck, so choose actor boundaries around useful units of ownership.
When to use
Use it to reduce shared-state races between independent components.