Berildocs GitHub

Memory cards

An actor owns its state and processes one message at a time

confidence: mediumupdated: 2026-11-25status: activeconcurrencyactorsupervision

Claim#

Mailboxes decouple senders; supervision restarts a failed actor. An unbounded mailbox is a memory leak with backpressure missing.

Test#

Send a burst to one actor. Check the mailbox depth and the restart.

Proof#

A bounded mailbox with a supervision policy.

Failure modes#

A blocking call inside an actor stalls the mailbox. A fire-and-forget send hides failure.