DEV Community


Discussion on: Actor model vs Microservices

vertigo profile image

"Right, but you need to store the information somewhere (accounts, records, users)? If you don’t count the database as service itself, the same logic can be applied to the actors."

Actors are stateful by having internal state (no pun). Microservices (if stateless), treat every request without (internal) knowledge of the past, while actors might carry state over to the next message (Hence one of their core principles is 'decide what to do with the next message').

Forem Open with the Forem app