what is more important (RAM vs Cores)

2012-10-12 Thread Hagos, A.S.
Hi All, For of my projects I want to buy a machine to host Casssandra database. The options I am offered are machines with 16GB RAM with Quad-Core processor and 6GB RAM with Hexa-Core processor. Which one do you recommend, big RAM or high number of cores? greetings Ambes

RE: what is more important (RAM vs Cores)

2012-10-12 Thread Hagos, A.S.
; I think it depends on your business case. Big RAM reduce latency and > improve responsibility, High number of cores increase concurrency of > your app. thanks. > On Fri, Oct 12, 2012 at 4:23 PM, Hagos, A.S. wrote: > Hi All, > For of my projects I want to buy a machine to host Ca

how to get column type?

2012-10-18 Thread Hagos, A.S.
Hi all, I am wondering if there is a way to know the column type of an already stored value in Cassandra. My specific case is to get a column value of a known column name but not type. greetings Ambes

how to get timestamp from slicerange result

2012-11-05 Thread Hagos, A.S.
Hi , I am using cpp thrift client to manipulate data in cassandra. I am unable to get the timestamp from a keyslice result. Any ideas ? The following is piece of my code to get column names and values from the result. cass.set_keyspace(myks3); string key = myrk3; ColumnPar

solved ...RE: how to get timestamp from slicerange result

2012-11-05 Thread Hagos, A.S.
I just figured it out ... returnstrg << "\":" << results[i].columns[x].column.timestamp< results; cass.get_range_slices(results, cparent, sp, range, ConsistencyLevel::ONE); for(size_t i=0; i