Re: Forming a cluster of embedded Cassandra instances

2016-02-17 Thread Binil Thomas
r. If I >>>> configure every write to be replicated on both nodes synchronously, then it >>>> will satisfy the HA needs of this usecase. Is it feasible to form clusters >>>> of embedded Cassandra instances? >>>> >>>> For usecase #3, I can form a large cluster of the ensemble where all >>>> writes are replicated synchronously to a quorum of nodes. >>>> >>>> Finally, in usecase #2 and #3, I'd like to use the failure detection >>>> and cluster membership dissemination infrastructure of Cassandra from >>>> within my application. Is it possible to be notified of membership changes >>>> when embedding Cassandra? I could use a separate library to do this (say, >>>> with JGroups or Akka) but I fear that if this library and the embedded >>>> Cassandra instances disagrees, it could lead to subtle bugs. >>>> >>>> Thanks, >>>> Binil >>>> >>>> PS: Cross-posted at >>>> http://stackoverflow.com/questions/35384983/forming-a-cluster-of-embedded-cassandra-instances >>>> >>>> >>> > > > -- > > - John >

Re: Forming a cluster of embedded Cassandra instances

2016-02-15 Thread Jack Krupansky
same JVM as my >>>>>> application. I read on the web that CassandraDaemon can be used this way. >>>>>> Is that accurate? What other applications embed Cassandra this way? I >>>>>> *think* JetBrains Upsource does, but do you know other ones? >>>>>> (Incidentally, >>>>>> my Java application embeds Jetty webserver also). >>>>>> >>>>>> For usecase #2, I am hoping that I can deploy two instances of this >>>>>> ensemble and have the embedded Cassandra instances form a cluster. If I >>>>>> configure every write to be replicated on both nodes synchronously, then >>>>>> it >>>>>> will satisfy the HA needs of this usecase. Is it feasible to form >>>>>> clusters >>>>>> of embedded Cassandra instances? >>>>>> >>>>>> For usecase #3, I can form a large cluster of the ensemble where all >>>>>> writes are replicated synchronously to a quorum of nodes. >>>>>> >>>>>> Finally, in usecase #2 and #3, I'd like to use the failure detection >>>>>> and cluster membership dissemination infrastructure of Cassandra from >>>>>> within my application. Is it possible to be notified of membership >>>>>> changes >>>>>> when embedding Cassandra? I could use a separate library to do this (say, >>>>>> with JGroups or Akka) but I fear that if this library and the embedded >>>>>> Cassandra instances disagrees, it could lead to subtle bugs. >>>>>> >>>>>> Thanks, >>>>>> Binil >>>>>> >>>>>> PS: Cross-posted at >>>>>> http://stackoverflow.com/questions/35384983/forming-a-cluster-of-embedded-cassandra-instances >>>>>> >>>>>> >>>>> >>> >>> >>> -- >>> >>> - John >>> >> >> > > > -- > > - John > >

Re: Forming a cluster of embedded Cassandra instances

2016-02-14 Thread Jan Kesten
;>>>> I *think* JetBrains Upsource does, but do you know other ones? >>>>>> (Incidentally, my Java application embeds Jetty webserver also). >>>>>> >>>>>> For usecase #2, I am hoping that I can deploy two instances of this >>>>>> ensemble and have the embedded Cassandra instances form a cluster. If I >>>>>> configure every write to be replicated on both nodes synchronously, then >>>>>> it will satisfy the HA needs of this usecase. Is it feasible to form >>>>>> clusters of embedded Cassandra instances? >>>>>> >>>>>> For usecase #3, I can form a large cluster of the ensemble where all >>>>>> writes are replicated synchronously to a quorum of nodes. >>>>>> >>>>>> Finally, in usecase #2 and #3, I'd like to use the failure detection and >>>>>> cluster membership dissemination infrastructure of Cassandra from within >>>>>> my application. Is it possible to be notified of membership changes when >>>>>> embedding Cassandra? I could use a separate library to do this (say, >>>>>> with JGroups or Akka) but I fear that if this library and the embedded >>>>>> Cassandra instances disagrees, it could lead to subtle bugs. >>>>>> >>>>>> Thanks, >>>>>> Binil >>>>>> >>>>>> PS: Cross-posted at >>>>>> http://stackoverflow.com/questions/35384983/forming-a-cluster-of-embedded-cassandra-instances >>> >>> >>> >>> -- >>> >>> - John > > > > -- > > - John

Re: Forming a cluster of embedded Cassandra instances

2016-02-14 Thread John Sanda
gt;>>>> my Java application embeds Jetty webserver also). >>>>> >>>>> For usecase #2, I am hoping that I can deploy two instances of this >>>>> ensemble and have the embedded Cassandra instances form a cluster. If I >>>>> configure every write to be replicated on both nodes synchronously, then >>>>> it >>>>> will satisfy the HA needs of this usecase. Is it feasible to form clusters >>>>> of embedded Cassandra instances? >>>>> >>>>> For usecase #3, I can form a large cluster of the ensemble where all >>>>> writes are replicated synchronously to a quorum of nodes. >>>>> >>>>> Finally, in usecase #2 and #3, I'd like to use the failure detection >>>>> and cluster membership dissemination infrastructure of Cassandra from >>>>> within my application. Is it possible to be notified of membership changes >>>>> when embedding Cassandra? I could use a separate library to do this (say, >>>>> with JGroups or Akka) but I fear that if this library and the embedded >>>>> Cassandra instances disagrees, it could lead to subtle bugs. >>>>> >>>>> Thanks, >>>>> Binil >>>>> >>>>> PS: Cross-posted at >>>>> http://stackoverflow.com/questions/35384983/forming-a-cluster-of-embedded-cassandra-instances >>>>> >>>>> >>>> >> >> >> -- >> >> - John >> > > -- - John

Re: Forming a cluster of embedded Cassandra instances

2016-02-14 Thread Jack Krupansky
t;>>> ensemble and have the embedded Cassandra instances form a cluster. If I >>>> configure every write to be replicated on both nodes synchronously, then it >>>> will satisfy the HA needs of this usecase. Is it feasible to form clusters >>>> of embedded Cassandra instances? >>>> >>>> For usecase #3, I can form a large cluster of the ensemble where all >>>> writes are replicated synchronously to a quorum of nodes. >>>> >>>> Finally, in usecase #2 and #3, I'd like to use the failure detection >>>> and cluster membership dissemination infrastructure of Cassandra from >>>> within my application. Is it possible to be notified of membership changes >>>> when embedding Cassandra? I could use a separate library to do this (say, >>>> with JGroups or Akka) but I fear that if this library and the embedded >>>> Cassandra instances disagrees, it could lead to subtle bugs. >>>> >>>> Thanks, >>>> Binil >>>> >>>> PS: Cross-posted at >>>> http://stackoverflow.com/questions/35384983/forming-a-cluster-of-embedded-cassandra-instances >>>> >>>> >>> > > > -- > > - John >

Re: Forming a cluster of embedded Cassandra instances

2016-02-14 Thread John Sanda
>>> >>> For usecase #3, I can form a large cluster of the ensemble where all >>> writes are replicated synchronously to a quorum of nodes. >>> >>> Finally, in usecase #2 and #3, I'd like to use the failure detection and >>> cluster membership dissemination infrastructure of Cassandra from within my >>> application. Is it possible to be notified of membership changes when >>> embedding Cassandra? I could use a separate library to do this (say, with >>> JGroups or Akka) but I fear that if this library and the embedded Cassandra >>> instances disagrees, it could lead to subtle bugs. >>> >>> Thanks, >>> Binil >>> >>> PS: Cross-posted at >>> http://stackoverflow.com/questions/35384983/forming-a-cluster-of-embedded-cassandra-instances >>> >>> >> -- - John

Forming a cluster of embedded Cassandra instances

2016-02-13 Thread Binil Thomas
-a-cluster-of-embedded-cassandra-instances

Re: Forming a cluster of embedded Cassandra instances

2016-02-13 Thread Jack Krupansky
s (say, with > JGroups or Akka) but I fear that if this library and the embedded Cassandra > instances disagrees, it could lead to subtle bugs. > > Thanks, > Binil > > PS: Cross-posted at > http://stackoverflow.com/questions/35384983/forming-a-cluster-of-embedded-cassandra-instances > >

Re: Forming a cluster of embedded Cassandra instances

2016-02-13 Thread Jonathan Haddad
nd #3, I'd like to use the failure detection and >> cluster membership dissemination infrastructure of Cassandra from within my >> application. Is it possible to be notified of membership changes when >> embedding Cassandra? I could use a separate library to do this (say, with >> JGroups or Akka) but I fear that if this library and the embedded Cassandra >> instances disagrees, it could lead to subtle bugs. >> >> Thanks, >> Binil >> >> PS: Cross-posted at >> http://stackoverflow.com/questions/35384983/forming-a-cluster-of-embedded-cassandra-instances >> >> >