http://cassandra.apache.org/ is a high-reliability, and distributed network database (key-value store), similar to Google's BigTable and Dynamo.

Data Model: http://wiki.apache.org/cassandra/DataModel

Wiki: http://wiki.apache.org/cassandra/

See also: http://incubator.apache.org/thrift/

Cookbook

To start up server

# starts cassandra cluster node on localhost :)
PREFIX=/usr/local/apache-cassandra-0.6.1
export PATH="$PATH:$PREFIX/bin"
ulimit -n 4096 # raises max files limit
cassandra -f

To access the console interface

cassandra-cli --host localhost --port 9160

Adding data:

cassandra> set Keyspace1.Standard2['erob']['username'] = 'erob' 
Value inserted.
cassandra> set Keyspace1.Standard2['erob']['email'] = 'erob@gthcfoundation.org'
Value inserted.
cassandra> set Keyspace1.Standard2['erob']['website'] = 'https://gthc.org/'    
Value inserted.
cassandra> get Keyspace1.Standard2['erob']
=> (column=website, value=https://gthc.org/, timestamp=1271943202987000)
=> (column=username, value=erob, timestamp=1271943166285000)
=> (column=email, value=erob@gthcfoundation.org, timestamp=1271943177117000)
Returned 3 results.
cassandra> 

just another Wiki: ApacheCassandra (last edited 2010-05-20 00:55:00 by anonymous)