Dear Hakkers,

I have a system with micro-services and my custom cluster shard 
implementation *-a long story not to be told for now, glad to share my 
approach later-*, so I have N roles in the cluster and each role with one 
of the following types: *[singleton, evenly distributed, balanced]* where 
*evenly 
distributed* is what cluster sharding does with my own algorithm and 
*balanced* creates a circular cycler routing logic which is similar to 
round robin but dumber, it just keep cycling an atomic integer between 
routee 1..N *-I can share the code later if anyone wants it-*

So every time a micro-service comes up it subscribe to cluster events with 
initial cluster state and member up/removed and here I update a local cache *-a 
local cache per service of an address book where other actors of other 
roles are to avoid network look up-*

The problem I'm having is that because I'm using only one seed node *-a 
special micro-service that doesn't do any business logic, just coordination 
stuff-* and if I restart the seed node, other nodes don't try to rejoin it 
and now I have two clusters, one with the seed node and all of the other 
nodes, new nodes coming after this will just join the seed node cluster.

So I guess what I'm looking for is some sort of cluster seed node 
resilience configuration?

I have gone through the documentation over and over and done some googling 
for hours with no success,

Best regards,

Guido.

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