On Tue, Nov 3, 2015 at 2:14 AM, <[email protected]> wrote:

> It seems like the ShardCoordinator is started the first time a request is
> made to an Entity Actor belonging to the ShardCoordinator. This adds some
> latency to the first request made to an Entity Actor managed by the Shard
> Coordinator. I'm seeing > 3 seconds of latency on the first ask to an
> entity actor when our server comes up.
>
> Is there a way to manually trigger the ShardCoordinator to start running?
>

The coordinator is started when you register the entity types (and the
oldest/singleton node becomes up).

Otherwise, send a message at startup to preload things ;-)

/Patrik


>
> Thanks!
> Vikas
>
> --
> >>>>>>>>>> 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.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw

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