Re: Cassandra to store 1 billion small 64KB Blobs

2010-07-24 Thread Michael Widmann
Hi Peter We try to figure that out how much data is coming in to cassandra once in full operation mode Reads are more depending on the hash values (the file name) for the binary blobs - not the binary data itself We will try to store hash values "grouped" (based on their first byte (a-z,A-Z,0-9)

Re: Cassandra basics

2010-07-24 Thread Uncle Mantis
I want to point out my up hill battle tips. Make some friends in the Freenode #Cassandra IRC channel. Stop hunting for formal documentation and just read all articles and examples you can get a hold if regardless of it is Java or PHP or Ruby. Take a look at Thrift and it's many wrappers. Ther

Re: CRUD test

2010-07-24 Thread Ran Tavory
Hi Oleg, I didn't follow up the entire thread, but just to let you know that the 0.6.* version of the CLI uses microsec as the time unit for timestamps. Hector also uses micros to match that, however, previous versions of hector (as well as the CLI) used milliseconds, not micro. So if you're using

Re: CRUD test

2010-07-24 Thread Jonathan Shook
Just to clarify, microseconds may be used, but they provide the same behavior as milliseconds if they aren't using a higher time resolution underneath. In some cases, the microseconds are generated simply as milliseconds * 1000, which doesn't actually fix any sequencing bugs. On Sat, Jul 24, 2010

Re: Failing to create a 2 Node cluster on a Windows machine

2010-07-24 Thread Alaa Zubaidi
Any insight is much appreciated.. Alaa Zubaidi wrote: Hi, I am new to Cassandra, and I want to create a 2 node cluster on the SAME machine running windows for testing my application before we get new hardware. I am facing "No other nodes seen! Unable to bootstrap" The first node starts suc

Re: CRUD test

2010-07-24 Thread Oleg Tsvinev
Thank you guys for your help! Yes, I am using System.currentTimeMillis() in my CRUD test. Even though I'm still using it my tests now run as expected. I do not use cassandra-cli anymore. @Ran great job on Hector, I wish there was more documentation but I managed. @Jonathan, what is the recommend

Re: CRUD test

2010-07-24 Thread Ran Tavory
Oleg, note that the unofficial recommendation is to use microsec, not mili. As jonathan notes, although there isn't a real way to get microsec in java, at the very least you should take the mili and multiply it by 1000. If you use hector then just use Keyspace.createTimestamp() ( http://github.com/

Re: CRUD test

2010-07-24 Thread Jonathan Shook
That's a question that many Java developers would like the answer to. Unfortunately, anything better than milliseconds requires JNI, since the current JVM doesn't officially support anything higher. There are solutions to this particular problem, but for most people, milliseconds are sufficient out