Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scala remote actors

Tags:

scala

actor

Are there any guides or tutorials which explain the possibility to use scala actors remotely? All I have found until now is one example (without comments) but that's hardly enough.

like image 262
Alexander Stolz Avatar asked Feb 12 '09 11:02

Alexander Stolz


People also ask

What are Scala actors?

The Actor Model provides a higher level of abstraction for writing concurrent and distributed systems. It alleviates the developer from having to deal with explicit locking and thread management, making it easier to write correct concurrent and parallel systems.

How does Akka remoting work?

Akka has two ways of using remoting: Lookup : used to look up an actor on a remote node with actorSelection(path) Creation : used to create an actor on a remote node with actorOf(Props(...), actorName)

What is an Akka cluster?

Akka Cluster provides a fault-tolerant decentralized peer-to-peer based Cluster Membership Service with no single point of failure or single point of bottleneck. It does this using gossip protocols and an automatic failure detector.


1 Answers

I have written an article with an example app to explain the use of Remote Actors a bit some time ago.

Well, it has no comments inside the code (maybe you even meant that article), but there are explanations below the code.

like image 180
dmeister Avatar answered Sep 20 '22 11:09

dmeister