You may want to read my SO answer which explains what you're seeing somewhat 
(including pictures and how to configure dispatchers properly):
stackoverflow.com/questions/34641861/akka-http-blocking-in-a-future-blocks-the-server/34645097#34645097

-- 
Cheers,
Konrad 'ktoso’ Malawski
Akka @ Typesafe

On 16 February 2016 at 17:27:01, Viktor Klang (viktor.kl...@gmail.com) wrote:

No, I'd use a dedicated dispatcher for the routees which do IO, use 
ThreadPoolExecutor.

--
Cheers,
√

On Feb 16, 2016 5:24 PM, "Hareesh Jagannathan" <harjag...@gmail.com> wrote:

I do have blocking file-io in one of the router of the pipeline. 

Should i used Pinned dispatcher for those and go ahead with what you suggested 
for non blocking actors?

On Tuesday, February 16, 2016 at 9:33:17 AM UTC-6, Hareesh Jagannathan wrote:
Akka application spins a lot of new dispatchers overtime instead of reusing . 
The old dispatchers are going back to waiting state and never been reused or 
terminated.

We use akka's default dispatcher with fork-join executors. we do override the 
default parallelism parameter between our actors based on actors purpose.

Is there a configuration that we are missing that causing this issue?

--
>>>>>>>>>> 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.
--
>>>>>>>>>> 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.

-- 
>>>>>>>>>>      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