Re: yet a couple more questions on composite columns

2012-02-05 Thread R. Verlangen
Yiming, I am using 2 CF's. Performance wise this should not be an issue. I use it for small files data store. My 2 CF's are: FilesMeta FilesData 2012/2/5 Yiming Sun > Interesting idea, Jim. Is there a reason you don't you use > "metadata:{accountId}" instead? For performance reasons? > > > On

Re: yet a couple more questions on composite columns

2012-02-05 Thread Yiming Sun
Thanks R.V.!! We are also dealing with many small files, so this sounds really promising. -- Y. On Sun, Feb 5, 2012 at 9:59 AM, R. Verlangen wrote: > Yiming, I am using 2 CF's. Performance wise this should not be an issue. I > use it for small files data store. My 2 CF's are: > > FilesMeta > Fi

Re: Restart cassandra every X days?

2012-02-05 Thread aaron morton
Close enough for me :) A - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 3/02/2012, at 8:39 PM, R. Verlangen wrote: > Well, it seems it's balancing itself, 24 hours later the ring looks like this: > > ***.89datacenter1 rack1 Up Norma

Re: Consurrent compactors

2012-02-05 Thread aaron morton
Not sure I understand the question. Do you have an example where a CF is not getting compacted ? The compaction tasks will be processed in the order they are submitted. If you have concurrent_compactors > 1 then the thread pool for compactions (excluding validation compactions) will be able to

Re: Write latency of counter updates across multiple rows

2012-02-05 Thread aaron morton
I'm not thinking about counters specifically here, and assuming you are sending batch mutations of the same sizeā€¦ The mutations (inserts, counter increments) for a row are turned into a single task server side, and are then processed in a serial fashion. If you send a mutation for 2 rows it wi

Re: nodetool hangs and didn't print anything with firewall

2012-02-05 Thread Mohit Anchlia
Does it work with iptables disabled? You could add log to your firewall rules to see if firewall is dropping the packets. On Sun, Feb 5, 2012 at 5:35 PM, Roshan wrote: > Hi > > I have 2 node Cassandra cluster and each linux box configured with a > firewall. The ports 7000, 7199 and 9160 are open

Best way to know the cluster status

2012-02-05 Thread Tamil selvan R.S
Hi, What is the best way to know the cluster status via php? Currently we are trying to connect to individual cassandra instance with a specified timeout and if it fails we report the node to be down. But this test remains faulty. What are the other ways to test availability of nodes in cassandr