Hi,

On Fri, Jul 25, 2014 at 9:49 AM, 09goral <[email protected]> wrote:

> Hi,
>
> I have a simple Akka app that uses spray http client module. I have around
> 10 actors that make requests to the server every 5 seconds. I use default
> ExecutionContext that come with context.dispatcher. I turned on JVisualVM
> to check how my application is doing and I see that most of the dispatchers
> ale in "Wait" state over 99% of the time.
>
> - Is it normal behaviour?
>

If your actors only do meaningful work in every 5 seconds, then yes, it is
fairly expected.


> - Should I configure my own dispatcher strategy?
>

Using separate dispatchers for different subsystems is not a bad idea in
general, but in your case I don't really see any indication that you would
need changes to your dispatcher settings.

-Endre


>
>
> This is my first time using JVisualVM to tuning application so thanks for
> any help :)
>
> --
> >>>>>>>>>> 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.
>



-- 
Akka Team
Typesafe - The software stack for applications that scale
Blog: letitcrash.com
Twitter: @akkateam

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