Skip to content

Decomplecting actors

How would Rich Hickey decomplect the actor model ? I’m thinking: Messages: immutable values Queues: actor inboxs (and outboxes) become queues (see Queues decouple producer from consumer ) State: state is stored by ID in a KV store (see…

Gordon
Jul 31, 20261 min read

How would [[Rich Hickey]] [[decomplect]] the [[actor model]]? I’m thinking:

  • Messages: immutable values
  • Queues: actor inboxs (and outboxes) become queues (see [[Queues decouple producer from consumer]])
  • State: state is stored by ID in a KV store (see [[Decomplecting means using IDs]])
  • Router: a [[name system]] that routes messages to named queues
  • Actor logic: becomes a pure function (behavior) that returns the next state and effects
  • Effect runner: performs side-effects
  • Actor system: ties all of these slices together

Did you enjoy this article?

Recommend it — Standard Reader surfaces well-loved writing to more readers across the network.

Across the AtmosphereDiscussions