I am trying to understand how clustering works in Akka. Specifically I'm interested in two different types of clustering:
- Heterogenous nodes, where each "node" (JVM) in the cluster contains a mixture of different Actors; and
- Homogenous nodes, where each nodecontains all the same types of Actors

Above are examples of what I mean by heterogenous and homogenous nodes. In the first (top) diagram, an all-actors.jar is deployed to three machines: myapp01, myapp02 and an AWS machine. In the second (bottom) diagram, 3 different types of Actor Systems are deployed; 1 to each machine. The heterogenous model has the benefits of simplicity and makes the Actor System as a whole scalable. The homogenous model allows for finer-grained elasticity (perhaps we need 3x more "B" Actors than "A" or "C", etc.).
- Are both types of clustering (heterogenous and homogenous) supported by Akka? If not, what would be needed (added on top of existing clustering) to obtain these clustering strategies? If so, how is each type configured?
- Is it possible to control the number of Actors you want in each node? Is it possible to say "On
myapp01I want 500 A-Actors, 200 B-Actors and 1,000 C-Actors"? Or does Akka just respond to messaging demand and scale up/down the various Actors automagically?