Re: [DISCUSS] CASSANDRA-17024: Artificial Latency Injection

2021-11-21 Thread bened...@apache.org
th Date: Friday, 19 November 2021 at 17:19 To: dev@cassandra.apache.org Subject: Re: [DISCUSS] CASSANDRA-17024: Artificial Latency Injection Wouldn't modifying the CQL grammar would require updating the application under test to perform experimentation? The other thing I was wondering abo

Re: [DISCUSS] CASSANDRA-17024: Artificial Latency Injection

2021-11-19 Thread Jon Meredith
LATENCY ‘{dc1:{dc2: 4ms}}’ > > > > This would leave applications a great deal of flexibility for experimenting > > with latency impacts, and greater ease for evolving this feature over time > > than specifying query eligibility at the protocol level. > > > > Does any

Re: [DISCUSS] CASSANDRA-17024: Artificial Latency Injection

2021-11-19 Thread Jeremiah D Jordan
t;mailto:bened...@apache.org>> > Date: Wednesday, 6 October 2021 at 14:48 > To: dev@cassandra.apache.org <mailto:dev@cassandra.apache.org> > mailto:dev@cassandra.apache.org>> > Subject: Re: [DISCUSS] CASSANDRA-17024: Artificial Latency Injection > This is a very good

Re: [DISCUSS] CASSANDRA-17024: Artificial Latency Injection

2021-11-19 Thread Abe Ratnofsky
t; than specifying query eligibility at the protocol level. > > Does anyone have any thoughts about this? > > From: bened...@apache.org > Date: Wednesday, 6 October 2021 at 14:48 > To: dev@cassandra.apache.org > Subject: Re: [DISCUSS] CASSANDRA-17024: Artificial Latency In

Re: [DISCUSS] CASSANDRA-17024: Artificial Latency Injection

2021-11-19 Thread bened...@apache.org
ing query eligibility at the protocol level. Does anyone have any thoughts about this? From: bened...@apache.org Date: Wednesday, 6 October 2021 at 14:48 To: dev@cassandra.apache.org Subject: Re: [DISCUSS] CASSANDRA-17024: Artificial Latency Injection This is a very good point. I forget the reason

Re: [DISCUSS] CASSANDRA-17024: Artificial Latency Injection

2021-10-06 Thread Dinesh Joshi
> On Oct 6, 2021, at 8:07 AM, Jonathan Ellis wrote: > > I would love to see CLs simplified. Even without user-provided CL we > almost certainly have too many. Providing a migration path is the hard > part. +1 on deprecating consistency levels. Migration path is easy for most use-cases. Some n

Re: [DISCUSS] CASSANDRA-17024: Artificial Latency Injection

2021-10-06 Thread Jonathan Ellis
On Wed, Oct 6, 2021 at 8:48 AM bened...@apache.org wrote: > That’s probably not a good reason here, and I agree that overloading > consistency level feels wrong. I hope we will retire user-provided > consistency levels over the coming year or two, which is another good > reason not to begin enhan

Re: [DISCUSS] CASSANDRA-17024: Artificial Latency Injection

2021-10-06 Thread bened...@apache.org
: [DISCUSS] CASSANDRA-17024: Artificial Latency Injection This sounds like a great feature! I wonder if Consistencylevel is the best way to expose this to users though, can't we implement this via another driver/protocol option ? Ie. "delay_enabled" flag that would be a modifier to

Re: [DISCUSS] CASSANDRA-17024: Artificial Latency Injection

2021-10-06 Thread Brandon Williams
On Wed, Oct 6, 2021 at 8:37 AM Paulo Motta wrote: > > This sounds like a great feature! I agree, this is going to be very useful. > I wonder if Consistencylevel is the best way to expose this to users > though, can't we implement this via another driver/protocol option ? Ie. > "delay_enabled" fl

Re: [DISCUSS] CASSANDRA-17024: Artificial Latency Injection

2021-10-06 Thread Paulo Motta
This sounds like a great feature! I wonder if Consistencylevel is the best way to expose this to users though, can't we implement this via another driver/protocol option ? Ie. "delay_enabled" flag that would be a modifier to an existing CL. If we decide to go the CL route, I wonder if this isn't

[DISCUSS] CASSANDRA-17024: Artificial Latency Injection

2021-10-06 Thread bened...@apache.org
Hi Everyone, This is a modest user-facing feature that I want to highlight in case anyone has any input. In order to validate if a real cluster may modify its topology or consistency level (e.g. from local to global), this ticket introduces a facility for injecting latency to internode messages