If some data or resource is written to, all writes should be made by a single thread. Wrap access to the resource in a dedicated actor thread that owns all writes.

TAKEAWAY: avoid protecting writable resources with a mutex, dedicate an actor to own every write

See also

References