Re: Storing application logs into Cassandra / design question

2010-07-05 Thread yaw
ith key = 'Date' and columns name are UUIDs (UUID sorted) => allow me to get last X logs of the day and data are approximately well distributed... Many thanks, yaw 2010/7/3 Микола Стрєбков > On 02.07.10 16:10, yaw wrote: > > Hi all, > > I'd like to store l

Storing application logs into Cassandra / design question

2010-07-02 Thread yaw
Hi all, I'd like to store logs of my application into cassandra. I need to query logs by date (last X logs) or user (give me last X logs for user Y ) and I want to dispatch data among several servers. I think the best design way is following : Each log identifier is a time based UUID.

Re: New to cassandra

2010-06-22 Thread yaw
And this one is useful : https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP 2010/6/22 Shahan Khan > The wiki is a great place: > > http://wiki.apache.org/cassandra/FrontPage > > Getting Started: http://wiki.apache.org/cassandra/GettingStarted > > Cassandra interfaces with PHP

What is K-table ?

2010-06-03 Thread yaw
Hi all, connecting to a cluster with cassandra-cli and trying a describe command, I obtain a "missing K_TABLE" message : cassandra> describe Keyspace1 line 1:9 missing K_TABLE at 'Keyspace1' Keyspace1.Super1 Column Family Type: Super Columns Sorted By: org.apache.cassandra.db.marshal.bytest...@2

Re: Best PHP client

2010-04-02 Thread yaw
s of ease of > use while others may be more flexible or have features such as > connection pooling. > > Sent from my iPhone > > > On Apr 2, 2010, at 9:48 AM, yaw wrote: > > > Hi all, > > just a (simple ?) question for today : > > > > What is the best

Best PHP client

2010-04-02 Thread yaw
Hi all, just a (simple ?) question for today : What is the best client for Cassandra ? - Thrift (need to build compiler first) - Pandra (seems not updated) - SimpleCassie (just discovered it few minutes ago) Is there any other PHP client ? If Cassandra is upgraded (0.5 to 0.6) , I suppose they

Re: best practice for migrating data

2010-04-02 Thread yaw
Hi all, this tells us to stop and start Cassandra ... I hope we are not asked to stop whole cluster ... Can we proceed node after node ? ( But how cluster could handle different config.xml files ?) 2010/4/2 Gary Dusbabek > AJ, > > The wiki gives an outline of how to do this: > http://wiki

Re: Poor performance; PHP & Thrift to blame

2010-03-30 Thread yaw
Hi David, I have seen your guide at https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP. I use Cassandra with a PHP client .. Until now, I am using Thrift PHP classes that I found into Pandra project (high level PHP client) as I was unable to install or build thrift compiler on my o