Re: Async write

2011-02-20 Thread Aaron Morton
Sorry, was typing faster than my brain was working. I was trying to say at the higher level the request would block for the write operations in other DC's to complete. As you say.That was the ticket I was thinking of. ThanksAaron On 21 Feb, 2011,at 01:19 PM, Jonathan Ellis wrote:On Sun, Feb 20, 20

Re: Async write

2011-02-20 Thread Jonathan Ellis
On Sun, Feb 20, 2011 at 1:36 PM, Aaron Morton wrote: > > On 19/02/2011, at 10:24 AM, Anthony John wrote: > > > > Fact as i understand them:- > > - A write call to db triggers a number of async writes to all nodes where > > the particular write should be recorded (and the nodes are up per Gossip a

Re: Async write

2011-02-20 Thread Aaron Morton
AFAIK the write across the dc is sync as well. I think there I'd a ticket out there to make them asnc, take a look at Jira. Aaron On 19/02/2011, at 10:24 AM, Anthony John wrote: > Fact as i understand them:- > - A write call to db triggers a number of async writes to all nodes where the > par

Re: Async write

2011-02-18 Thread Anthony John
Fact as i understand them:- - A write call to db triggers a number of async writes to all nodes where the particular write should be recorded (and the nodes are up per Gossip and so on) - Once desired CL number of writes acknowledge - the call returns So your issue is moot. That is what is happeni

Re: Async write

2011-02-18 Thread A J
W always stands for number of sync writes. N-W is the number of async writes. Note, N decides number of replicas. W only decides out of those N replicas, how many should be written synchronously before returning success of write to client. All writes always happen to a total of N nodes (W right awa

Re: Async write

2011-02-18 Thread mcasandra
So does it mean there is no way to say use sync + async ? I am thinking if I have to write accross data center and doing it synchronuosly is going to be very slow and will be bad for clients to have to wait. What are my options or alternatives? Use N=3 and W=2? And the 3rd one (assuming will be a

Re: Async write

2011-02-18 Thread Anthony John
This is transparent! Essentially - when enough writes are acknowledged to meet the desired Consistency Level - it returns. On Fri, Feb 18, 2011 at 2:48 PM, mcasandra wrote: > > I am still trying to understand how writes work. Is there any concept of > sync > and async writes? For eg: > > If I w