Hi,

I have some general questions regarding ConsistentHashingPool and 
PinnedDispatcher


1.  If my message (request id based) processing logic is CPU intensive. 
Will ConsistentHashingPool have better performance/throughput than 1 single 
actor? (considering multiple core CPU )

2. Will  PinnedDispatcher improve performance in above case?  Assuming I 
have 8 actors for my ConsistentHashingPool, and each actor has 1 dedicate 
PinnedDispatcher.

3.  If #2 is a reasonable case, should I use another PinnedDispatcher for 
ConsistentHashingPool itself (So I have total 9 PinnedDispatchers) ?  If 
yes, I need to call withDispatcher() for both ConsistenHashingPool's props 
and MyActor's props when creating the pool instance?

4. According to the document:

my-pinned-dispatcher {
  executor = "thread-pool-executor"
  type = PinnedDispatcher}



Can this "my-pinned-dispatcher" be used by different actors? Or this 
dispatcher can  be used only by 1 actor? (i.e.: 1: 1 mapping)


Maybe I just over think about the problem, I just like to know the best 
practice of using ConsistentHashingPool.


Thanks
Leon






-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to