What is Actor Model?

VietMX Staff asked 3 years ago

All Actor model says that your concurrency primitives are actors, which can:

  • receive a message and decide what to do next depending on the content of the message, including:
  • send messages to any actors they know about
  • create new actors

and provides certain guarantees, e.g.:

  • any actor will only handle a single message at a time
  • messages sent by actor X to actor Y will arrive in the order thay were sent