Re: configuring read write quorums in cassandra

2013-08-28 Thread Muntasir Raihan Rahman
Thanks!

Muntasir.

On Wed, Aug 28, 2013 at 3:52 PM, Robert Coli  wrote:
> On Wed, Aug 28, 2013 at 1:48 PM, Muntasir Raihan Rahman
>  wrote:
>>
>> Let us say I set read consistency level = ONE, and I am running the
>> system for a while. Then I want to change the read consistency level
>> to TWO so that reads now wait to hear back from 2 replicas instead of
>> 1 before responding to the client.
>
>
> In general, TWO is only for users who really know what they are doing. Most
> users will use ONE or *_QUORUM.
>
> But changing it is just a matter of changing the ConsistencyLevel of your
> new requests, in your application code.
>
> Changing *replication factor* is a bit more involved.
>
> =Rob
>



-- 
Best Regards
Muntasir Raihan Rahman
Email: muntasir.rai...@gmail.com
Department of Computer Science,
University of Illinois Urbana Champaign,
3111 Siebel Center,
201 N. Goodwin Avenue,
Urbana, IL  61801


Re: configuring read write quorums in cassandra

2013-08-28 Thread Muntasir Raihan Rahman
Thanks for clarifying that!

Muntasir.

On Wed, Aug 28, 2013 at 3:51 PM, Andrey Ilinykh  wrote:
> Each query has its own consistency level. It has nothing to do with
> cassandra.
>
>
> On Wed, Aug 28, 2013 at 1:48 PM, Muntasir Raihan Rahman
>  wrote:
>>
>> Sorry, let me clarify.
>>
>> Let us say I set read consistency level = ONE, and I am running the
>> system for a while. Then I want to change the read consistency level
>> to TWO so that reads now wait to hear back from 2 replicas instead of
>> 1 before responding to the client. I want to change this consistency
>> level, and then continue running the system.
>>
>> Does that clarify my query?
>>
>> Thanks
>> Muntasir.
>>
>> On Wed, Aug 28, 2013 at 3:39 PM, Andrey Ilinykh 
>> wrote:
>> > What do you mean "to change the cassandra read and write quorums"?
>> > Quorum is
>> > quorum, 2 of 3 for example. What do you want to change?
>> >
>> > Andrey
>> >
>> >
>> > On Wed, Aug 28, 2013 at 1:33 PM, Muntasir Raihan Rahman
>> >  wrote:
>> >>
>> >> Hello,
>> >>
>> >> Are there any tools (e.g like nodetool) that could be used to change
>> >> the cassandra read and write quorums at run-time?
>> >>
>> >> In general what is a good strategy of changing these system parameters
>> >> while cassandra is running?
>> >>
>> >> Any pointers could be useful!
>> >>
>> >> Thanks
>> >> Muntasir.
>> >
>> >
>>
>>
>>
>> --
>> Best Regards
>> Muntasir Raihan Rahman
>> Email: muntasir.rai...@gmail.com
>> Department of Computer Science,
>> University of Illinois Urbana Champaign,
>> 3111 Siebel Center,
>> 201 N. Goodwin Avenue,
>> Urbana, IL  61801
>
>



-- 
Best Regards
Muntasir Raihan Rahman
Email: muntasir.rai...@gmail.com
Department of Computer Science,
University of Illinois Urbana Champaign,
3111 Siebel Center,
201 N. Goodwin Avenue,
Urbana, IL  61801


Re: configuring read write quorums in cassandra

2013-08-28 Thread Muntasir Raihan Rahman
Sorry, let me clarify.

Let us say I set read consistency level = ONE, and I am running the
system for a while. Then I want to change the read consistency level
to TWO so that reads now wait to hear back from 2 replicas instead of
1 before responding to the client. I want to change this consistency
level, and then continue running the system.

Does that clarify my query?

Thanks
Muntasir.

On Wed, Aug 28, 2013 at 3:39 PM, Andrey Ilinykh  wrote:
> What do you mean "to change the cassandra read and write quorums"? Quorum is
> quorum, 2 of 3 for example. What do you want to change?
>
> Andrey
>
>
> On Wed, Aug 28, 2013 at 1:33 PM, Muntasir Raihan Rahman
>  wrote:
>>
>> Hello,
>>
>> Are there any tools (e.g like nodetool) that could be used to change
>> the cassandra read and write quorums at run-time?
>>
>> In general what is a good strategy of changing these system parameters
>> while cassandra is running?
>>
>> Any pointers could be useful!
>>
>> Thanks
>> Muntasir.
>
>



-- 
Best Regards
Muntasir Raihan Rahman
Email: muntasir.rai...@gmail.com
Department of Computer Science,
University of Illinois Urbana Champaign,
3111 Siebel Center,
201 N. Goodwin Avenue,
Urbana, IL  61801


configuring read write quorums in cassandra

2013-08-28 Thread Muntasir Raihan Rahman
Hello,

Are there any tools (e.g like nodetool) that could be used to change
the cassandra read and write quorums at run-time?

In general what is a good strategy of changing these system parameters
while cassandra is running?

Any pointers could be useful!

Thanks
Muntasir.


Re: subscribe request

2013-02-14 Thread Muntasir Raihan Rahman
I apologize for this silly mistake!

Thanks
Muntasir.

On Thu, Feb 14, 2013 at 11:01 AM, Andy Twigg  wrote:

> i was hoping for a rick roll.
>
> On 14 February 2013 16:55, Eric Evans  wrote:
> > This is new.
> >
> > On Thu, Feb 14, 2013 at 9:24 AM, Muntasir Raihan Rahman
> >  wrote:
> >>
> >>
> >> --
> >> Best Regards
> >> Muntasir Raihan Rahman
> >> Email: muntasir.rai...@gmail.com
> >> Phone: 1-217-979-9307
> >> Department of Computer Science,
> >> University of Illinois Urbana Champaign,
> >> 3111 Siebel Center,
> >> 201 N. Goodwin Avenue,
> >> Urbana, IL  61801
> >
> >
> >
> > --
> > Eric Evans
> > Acunu | http://www.acunu.com | @acunu
>



-- 
Best Regards
Muntasir Raihan Rahman
Email: muntasir.rai...@gmail.com
Phone: 1-217-979-9307
Department of Computer Science,
University of Illinois Urbana Champaign,
3111 Siebel Center,
201 N. Goodwin Avenue,
Urbana, IL  61801