https://github.com/akka/akka/pull/18543

it will be in upcoming 2.4.1

/Patrik

On Thu, Nov 12, 2015 at 6:15 PM, Rodrigo Boavida <rodrigo.boav...@gmail.com>
wrote:

> Brice,
>
> Thanks for the answer. I will definitely have a look into what the events
> could give me and how the strategy could be tuned to provide such events.
>
> tnks,
> Rod
>
> On Thursday, November 12, 2015 at 4:24:27 PM UTC, Brice Figureau wrote:
>>
>> On Thu, 2015-11-12 at 07:41 -0800, Rodrigo Boavida wrote:
>>
>> >
>> > I'm currently starting to implement an Akka sharding based
>> > infrastructure and given the dynamic load balancing nature and
>> > recoverability, part of the monitoring process would be around
>> > monitoring the current shards and entities owned by each shard.
>> >
>> >
>> > Would be nice to know if there is anything similar to the cluster
>> > events that would help me monitor for sharding changing events like
>> > re-balancing of shards, and quantifiers of shards per node and
>> > entities per shard.
>>
>> To my knowledge there's nothing as useful as cluster events. Last time I
>> asked a question like this one, someone suggested implementing a custom
>> ShardAllocationStrategy. This is called every time the system needs to
>> know where to allocate a shard, so that would be a good place to send
>> the type of events you're looking for (you also receive the global
>> mapping of shards, which can be useful). Unfortunately I hadn't the time
>> to implement such things, it's still on my TODO list :(
>>
>> HTH,
>>
>> --
>> Brice Figureau <bric...@daysofwonder.com>
>>
>> --
> >>>>>>>>>> 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 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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
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