Re: Help on bucket quorums

2014-06-29 Thread Sean Cribbs
Roughly. Even with PR/PW you can't say strong _consistency_, but you can reason about stronger _durability_ and reduced divergence. To truly get strong consistency, you have to use a consensus algorithm like Paxos, Raft, etc. Riak 2.0 will have one that you can turn on per-bucket-type. Generally i

Re: Help on bucket quorums

2014-06-28 Thread Alex De la rosa
Hi Sean, Thank you very much for your explanation :) looks much clearer now. So... is not viable to set anything to 0 as it would make no sense and fail, and also is not appropriate to set anything to the same value as "n_value" (in this case 3) as there would be false negatives... so the adjustm

Re: Help on bucket quorums

2014-06-28 Thread Sean Cribbs
On Sat, Jun 28, 2014 at 4:55 AM, Alex De la rosa wrote: > Hi there, > > Can somebody help me understand a bit better the bucket quorums? I will > use the Python API to write code examples: > > Imagine we are building a web app like twitter, and we want fast read > (although not need to be consist

Re: Help on bucket quorums

2014-06-28 Thread Alex De la rosa
Hi John, Hi Brett, Thanks for the links! I will take a look and see if I figure it out ;) Greetings, Alex On Sat, Jun 28, 2014 at 6:20 PM, John Daily wrote: > I don't have time at the moment to respond in more detail, I'm afraid, but > you should find this blog series quite useful. > > http:/

Re: Help on bucket quorums

2014-06-28 Thread John Daily
I don't have time at the moment to respond in more detail, I'm afraid, but you should find this blog series quite useful. http://basho.com/understanding-riaks-configurable-behaviors-part-1/ Sent from my iPhone On Jun 28, 2014, at 5:56 AM, Alex De la rosa wrote: Hi there, Can somebody help me

Re: Help on bucket quorums

2014-06-28 Thread Brett Hazen
Alex — Have you already checked out the documentation about eventual consistency? http://docs.basho.com/riak/latest/theory/concepts/Eventual-Consistency/ Also there is a great series of blog posts which John Daily wrote about Riak’s configuration: http://basho.com/understanding-riaks-configura

Help on bucket quorums

2014-06-28 Thread Alex De la rosa
Hi there, Can somebody help me understand a bit better the bucket quorums? I will use the Python API to write code examples: Imagine we are building a web app like twitter, and we want fast read (although not need to be consistent) and safe writings, this R/W combination is appropriate? bucket =