DEV Community

Discussion on: Actor model vs Microservices

Collapse
 
coreyoconnor profile image
Corey O'Connor • Edited

In reading a book about distributed systems (edit: see reply for details) I ran across a similar thread. Liked the idea so much I built an EDSL in Scala for this. Will official release in a free weeks. :) Here's what an example looks like:

Would love your thoughts on that example. :)

The getting started guide is being completed as I write this:

Collapse
 
coreyoconnor profile image
Corey O'Connor

The reference was: "Programming Distributed Computing Systems" by Varela (2013). On pg 172 they discuss a particular aspect of the SALSA (2001) programming language (a language by the same author):

"The ActorService ... is used to annotate behaviors whose instances are not to be garbage collected. The reason is that it is possible to create references to instance of behaviors implementing this interface from their [host and path]"

They proceed to describe how an instance of an ActorService would be routed using a host and path. They are, in effect, describing technology similar to a proxy plus service. However, their specific representation is inappropriate for microservices. Interesting tho :)