Hi. I'm working through Akka in Action, section 14.3.2 - "Work Distribution 
using Routers".

I have a simple work distribution example 
project<https://github.com/Synesso/scratch-akka-cluster-singleton/tree/distributed>and
 it is exhibiting two unwanted behaviours. Can someone please help me 
understand where I've gone wrong?

   1. Despite using a router to distribute work to the 
workers<https://github.com/Synesso/scratch-akka-cluster-singleton/blob/distributed/src/main/scala/sample/cluster/simple/TheFatController.scala#L24>,
 
   all work continues to happen on the same node (even when max workers is 
   reached for that node).
   2. Despite stopping the 
workers<https://github.com/Synesso/scratch-akka-cluster-singleton/blob/distributed/src/main/scala/sample/cluster/simple/Worker.scala#L11>,
 
   the system is unable to process work once the max number of 
workers<https://github.com/Synesso/scratch-akka-cluster-singleton/blob/distributed/src/main/scala/sample/cluster/simple/TheFatController.scala#L29>is
 hit.

I hope someone can help me as I can't see what I've done wrong.

Thanks
Jem

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to