RE: Local_serial >> Adding nodes

2017-06-08 Thread ZAIDI, ASAD A
Please share exact timeout error message text to get idea what type of timeout you're facing. From: Nitan Kainth [mailto:ni...@bamlabs.com] Sent: Wednesday, June 07, 2017 7:24 AM To: vasu gunja Cc: user@cassandra.apache.org Subject: Re: Local_serial >> Adding nodes What is in syste

Re: Local_serial >> Adding nodes

2017-06-07 Thread Nitan Kainth
; We are having 2 DC setup each consists of 20 odd nodes and recently we >>> decided to add 6 more nodes to DC1. We are using LWT's, application >>> dirvers are configuared to use LOCAL_SERIAL. >>> As we are adding multiple nodes at a time we used optio

Re: Local_serial >> Adding nodes

2017-06-07 Thread vasu gunja
Hi All, >> >> We are having 2 DC setup each consists of 20 odd nodes and recently we >> decided to add 6 more nodes to DC1. We are using LWT's, application >> dirvers are configuared to use LOCAL_SERIAL. >> As we are adding multiple nodes at a time we used o

Re: Local_serial >> Adding nodes

2017-06-07 Thread Nitan Kainth
WT's, application dirvers > are configuared to use LOCAL_SERIAL. > As we are adding multiple nodes at a time we used option > "-Dcassandra.consistent.rangemovement=false" we added all nodes with gap of > 10 mins each > > We are facing lot of timeouts more 30k

Local_serial >> Adding nodes

2017-06-06 Thread vasu gunja
Hi All, We are having 2 DC setup each consists of 20 odd nodes and recently we decided to add 6 more nodes to DC1. We are using LWT's, application dirvers are configuared to use LOCAL_SERIAL. As we are adding multiple nodes at a time we used option "-Dcassandra.consistent.rangemove

Re: Benefit of LOCAL_SERIAL consistency

2016-12-08 Thread Sylvain Lebresne
On Fri, Dec 9, 2016 at 1:35 AM, Edward Capriolo wrote: > > I copied the wrong issue: > > The core issue was this: https://issues.apache. > org/jira/browse/CASSANDRA-6123 > Well, my previous remark applies equally well to this ticket so let me just copy-paste: "That ticket has nothing to do with L

Re: Benefit of LOCAL_SERIAL consistency

2016-12-08 Thread Edward Capriolo
t I don't think that means it's never ever useful. > > > So, I am not sure about what is the good use case for LOCAL_SERIAL. > > Well, a good use case is when you're ok with operations within a > datacenter to > be linearizable, but can accept 2 operations in differ

Re: Benefit of LOCAL_SERIAL consistency

2016-12-08 Thread Sylvain Lebresne
ause registering a new account on some service takes 500ms. So yes it's costly, as is most things that willingly depends on cross-DC latency, but I don't think that means it's never ever useful. > So, I am not sure about what is the good use case for LOCAL_SERIAL. Well, a good

Re: Benefit of LOCAL_SERIAL consistency

2016-12-07 Thread Hiroyuki Yamada
takes 52ms just by speed of light in optic cable. Since LightWeight >> Transaction involves 4 network round-trips, it means at least 200ms just for >> raw network transfer, not even taking into account the cost of processing >> the operation >> >> You're right to raise a

Re: Benefit of LOCAL_SERIAL consistency

2016-12-07 Thread Edward Capriolo
w York takes 52ms just by speed of light in optic cable. Since > LightWeight Transaction involves 4 network round-trips, it means at least > 200ms just for raw network transfer, not even taking into account the cost > of processing the operation > > You're right to raise a w

Re: Benefit of LOCAL_SERIAL consistency

2016-12-07 Thread DuyHai Doan
eight Transaction involves 4 network round-trips, it means at least 200ms just for raw network transfer, not even taking into account the cost of processing the operation You're right to raise a warning about mixing LOCAL_SERIAL with SERIAL. LOCAL_SERIAL guarantees you linearizability inside a

Benefit of LOCAL_SERIAL consistency

2016-12-07 Thread Hiroyuki Yamada
Hi, I have been using lightweight transactions for several months now and wondering what is the benefit of having LOCAL_SERIAL serial consistency level. With SERIAL, it achieves global linearlizability, but with LOCAL_SERIAL, it only achieves DC-local linearlizability, which is missing point of

Re: LOCAL_SERIAL

2015-10-16 Thread Eric Stevens
self using Cassandra (local_serial or CAS would be fine), but it's largely a solved problem, and better tested than a home grown solution is likely to be. Don't be afraid of hard problems, but also don't fall prey to NIH syndrome. On Thu, Oct 15, 2015 at 9:43 AM Jon Haddad wrote: > ZK

Re: LOCAL_SERIAL

2015-10-15 Thread Jon Haddad
ZK seems a little overkill for just 1 feature though. LOCAL_SERIAL is fine if all you want to do is keep a handful of keys up to date. There’s a massive cost in adding something new to your infrastructure, and imo, very little gain in this case. > On Oct 15, 2015, at 8:29 AM, Eric Stev

Re: LOCAL_SERIAL

2015-10-15 Thread Eric Stevens
centers and want to coordinate a bunch of services > in each data center (for example to load data into a per-DC system that is > not DC-aware (Solr)). > > Does it make sense to use CAS functionality with explicit LOCAL_SERIAL to > 'elect' a leader per data center to do the wo

LOCAL_SERIAL

2015-10-15 Thread Jan Algermissen
Hi, suppose I have two data centers and want to coordinate a bunch of services in each data center (for example to load data into a per-DC system that is not DC-aware (Solr)). Does it make sense to use CAS functionality with explicit LOCAL_SERIAL to 'elect' a leader per data center