I need to perform number of requests to different actors and sum them to 
some response. An actor wrap all requests inside futures and compose them 
to single. After that I suppose actor would be put in sleep until it 
recovers all needed information (or timer runs out). What if I had hundreds 
of such actors simultaneously?

Naive approach is that they all would be put to sleep and would exhaust 
thread pool which leads to deadlock possibility. Does akka uses such naive 
approach or it has some tricky magic to return blocked actor thread back to 
executor? Should I avoid awaiting inside actors?

-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
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