Re: Using cassandra at minimal expenditures

2012-03-01 Thread aaron morton
As others said, depends on load and traffic and all sorts of thins. if you want a number, 4Gb would me a reasonable minimum IMHO. (You may get by with less). 8Gb is about the tops. Any memory not allocated to Cassandra will be used to map files into memory. If you can get machines with 8GB

Re: Using cassandra at minimal expenditures

2012-03-01 Thread Ertio Lew
expensive :-) I was expecting to start with 2GB nodes, if not 1GB for intial. On Thu, Mar 1, 2012 at 3:43 PM, aaron morton aa...@thelastpickle.comwrote: As others said, depends on load and traffic and all sorts of thins. if you want a number, 4Gb would me a reasonable minimum IMHO. (You may

Re: Using cassandra at minimal expenditures

2012-03-01 Thread Hontvári József Levente
For Cassandra testing I am using a very old server with a one core Celeron processor and 1GiB RAM, and another one with 4GiB and 4 cores, both with two consumer SATA hard disks. Both works, i.e. there is no out of memory error etc. There are about 10 writes and reads per second, maybe more,

Re: Using cassandra at minimal expenditures

2012-02-29 Thread Maki Watanabe
Depends on your traffic :-) cassandra-env.sh will try to allocate heap with following formula if you don't specify MAX_HEAP_SIZE. 1. calculate 1/2 of RAM on your system and cap to 1024MB 2. calculate 1/4 of RAM on your system and cap to 8192MB 3. pick the larger value So how about to start with

Re: Using cassandra at minimal expenditures

2012-02-28 Thread Ertio Lew
@Aaron: Are you suggesting 3 nodes (rather than 2) to allow quorum operations even at the temporary loss of 1 node from cluster's reach ? I understand this but I just another question popped up in my mind, probably since I'm not much experienced managing cassandra, so I'm unaware whether it may be

Re: Using cassandra at minimal expenditures

2012-02-28 Thread Maki Watanabe
If you have 3 nodes of RF=3, you can continue the service on cassandra even if one of the node will fail ( by hardware or software failure ). One other benefit is you can shutdown one node for maintenance or patch up without service interruption. If you run your service with 2 node and RF=2, your

Re: Using cassandra at minimal expenditures

2012-02-28 Thread Maki Watanabe
If you run your service with 2 node and RF=2, your data will be replicated but your service will not be redundant. ( You can't stop both of nodes ) If your service doesn't need strong consistency ( allow cassandra returns old data after write, and possible write lost ), you can use CL=ONE for

Re: Using cassandra at minimal expenditures

2012-02-28 Thread Ertio Lew
Thanks, I think I don't need high consistency(as per my app requirements) so I might be fine with CL.ONE instead of quorum, so I think I'm probably going to be ok with a 2 node cluster initially.. Could you guys also recommend some minimum memory to start with ? Of course that would depend on my

Using cassandra at minimal expenditures

2012-02-27 Thread Ertio Lew
Hi I'm creating an networking site using cassandra. I am wanting to host this application but initially with the lowest possible resources then slowly increasing the resources as per the service's demand need. *1. *I am wandering *what is the minimum recommended cluster size to start with*?

Re: Using cassandra at minimal expenditures

2012-02-27 Thread Dave Brosius
I guess the issue with 2 machines and RF=2 is that Consistency level of QUORUM is the same as ALL, so you've pretty much have little flexibility with this setup, of course this might be fine depending on what you want to do. In addition, RF=2 also means that you get no data-storage improvements

Re: Using cassandra at minimal expenditures

2012-02-27 Thread aaron morton
1. I am wandering what is the minimum recommended cluster size to start with? IMHO 3 http://thelastpickle.com/2011/06/13/Down-For-Me/ A - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 28/02/2012, at 8:17 AM, Ertio Lew wrote: Hi I'm