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 <[email protected]> -- >>>>>>>>>> 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.
