I am learning to use Scala / Play / Akka on Heroku, and something is interesting to me. Suppose I have an application structured as a network of Akka actors. Some of the participants will work together with the web application itself, but I can select one or several nodes as dedicated Akka accounts: for example, a group of members of the cache manager.
To configure Akka remote access, I need to specify IP addresses in akka.conf . But since Heroku nodes are somewhat ephemeral, I will not know every node address at the time of writing the configuration file.
This may simplify the creation of a central โregistrationโ node, but even there I will not know the IP address of this node in advance.
So how do my Akka nodes link to each other on Heroku?
Bill
source share