title: Is there a way to randomly assign routes or roles for a defined number of actors in Akka?
body: <p>Suppose I want to implement a cluster system where some actos will be request dispatchers and others will be standard nodes. How can I randomly assign a predefined number of actors (does not matter the hostname and port) a specific route or even role? </p>
  
  <p>Explaining better:</p>
  
  <p>Suppose I have these nodes: </p>
  
  <pre><code>1 - akka.tcp://ClusterSystem@192.168.0.1:2551/user/clusterListener
  2 - akka.tcp://ClusterSystem@192.168.0.2:2552/user/clusterListener
  3 - akka.tcp://ClusterSystem@192.168.0.3:2553/user/clusterListener
  4 - akka.tcp://ClusterSystem@192.168.0.4:2554/user/clusterListener
  </code></pre>
  
  <p>Now I want 2 of them to have the sub route "dispatcher" (akka.tcp://ClusterSystem@xxx.xxx.xxx.xxx:xxxx/user/clusterListener/dispatcher)</p>