All challenges
Multiple ChoiceIntermediate 45s

Actor model: no shared mutable state

In the actor model, how do actors avoid data races on shared state?
Options
  1. 1Global locks serialize all actor message handlers across the whole system
  2. 2Each actor owns its private state and mutates it only by processing one message at a time
  3. 3State is broadcast to every actor so they all keep a synchronized local copy
  4. 4Actors share a transactional database to mediate concurrent state access

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle