Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Latest commit

 

History

History
25 lines (15 loc) · 1.08 KB

actor_model.md

File metadata and controls

25 lines (15 loc) · 1.08 KB

Actor Model

The actor model is a computational model of concurrency where an actor is the computational primitive. In response to messages sent by other actors, the actor can: make local decisions, create more actors, send more messages, determine how to respond to the next message. They can manage their own private state, and can affect other actors only by sending a message.1

Exercises

Take-A-Number Machine

This exercise deals with a machine that gives out consecutive numbers. The reference implementation (Elixir) teaches:

  • How to start a process.
  • How to send a message to a process.
  • How to receive a message.

Implementations

Track Exercise Changes
Elixir processes None

[1] Actor model, Wikipedia. (2020). https://en.wikipedia.org/w/index.php?title=Actor_model&oldid=939106706 (accessed February 29, 2020).