Scala actors & Ambient Reference

Yes, this is possible with Akka.

There are 2 ways to achieve this as far as I know:

  1. akka-remote – Provides remote actor ref, but you need to decide where each actor should exsist.
  2. akka-cluster – Provides cluster sharding. Automatically manages actor physical location and ensures that given shard (Actor) is present on at most one node in the cluster.

Leave a Comment