Cassandra Notes 1

Whhat I like about Cassandra:
1, no more dba…..
2, easy to install, compared with HBase
3, simple data model
What I think can be improved:
1, naming, for example, “Column” is not really a “column” in Ralational Database sense. It is more of a “CELL” to me. “Column Family” is more of “table”. And “super column”? Technically it is a “named list of columns”. I think “Super Column” can be used as a “row” or “nested table”
2, Not many tools or libraries to use. For example, I have to program below

TTransport transport = null;
try{
transport = new TSocket(“localhost”, 9160);
TProtocol protocol = new TBinaryProtocol(transport);
Cassandra.Client client = new Cassandra.Client.Client(protocol);
transport.open();
//do database stuff
}finally{
transport.flush();
transport.close();
}
This reminds me the early days of Java JDBC programming. I hope soon there be more support from the open source community, for example Spring.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s