API simplicity is one thing – runtime, failure and recovery semantics are 
another, that's there the dragon lies.
My only point here is, that it's tricky to have 2 clusters being running in the 
same jvm, because there's much more
failure scenarios you suddenly have to think about: 
- what if Akka detects unreachable, Hazlecast doesnt
- what if Akka downs a node, Hazlecast doesnt
- what if Hazlecast can't connect to the other node, Akka still can without 
problems

Those are where the problems show up. Ease of use APIs are nice, but not 
addressing these problems -
they're up to the developers to guard against. So I'd avoid including any other 
clustering solution unless you really need it.
For "just a counter" it's definitely not worth such increase of complexity IMHO.

-- 
Cheers,
Konrad 'ktoso’ Malawski
Akka @ Typesafe

On 28 December 2015 at 11:04:53, Guido Medina ([email protected]) wrote:

I was planning to have Hazelcast start/stop with each ActorSystem 
programmatically, Hazelcast API is as friendly as akka's  

But again if akka has its own in-memory grid then no need, also think if you 
only need a counter or other things from a toolkit like Hazelcast and if the 
things you will need can be accomplished with akka alone.  

HTH,  

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 [email protected].  
To post to this group, send email to [email protected].  
Visit this group at https://groups.google.com/group/akka-user.  
For more options, visit https://groups.google.com/d/optout.  

-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to