Emulating SQL on a NoSQL database - (MongoDB) database using Map Reduce. Ironic? You are probably thinking, if Bizarro wrote computer programs this would be one of his Sunday comic panels. Actually, it's not that weird if you consider what Hive and Pig do. The bottom line is SQL-like languages still prevail regardless of the underlying implementation, whether you do distributed Map-Reduce or Streaming Joins in CEP/ESP.
Many cappuccinos later....
I was curious to know how big the core of Apache Cassandra was. It's surprisingly compact for the features it offers. About 15K NCSS or real source statements. I used good old JavaNCSS to measure.
Nr. Classes Functions NCSS Javadocs Package
1 8 34 486 0 org.apache.cassandra.cli
2 1 3 50 1 org.apache.cassandra.client
3 11 74 250 42 org.apache.cassandra.concurrent
4 3 60 494 4 org.apache.cassandra.config
5 98 565 3585 64 org.apache.cassandra.db
6 14 56 389 9 org.apache.cassandra.db.filter
7 9 19 113 5 org.apache.cassandra.db.marshal
8 24 128 610 22 org.apache.cassandra.dht
9 35 154 1048 34 org.apache.cassandra.gms
10 37 196 1345 68 org.apache.cassandra.io
11 11 75 634 29 org.apache.cassandra.locator
12 23 152 1100 29 org.apache.cassandra.net
13 19 78 460 0 org.apache.cassandra.net.io
14 2 6 34 0 org.apache.cassandra.net.sink
15 53 291 2514 95 org.apache.cassandra.service
16 4 40 602 28 org.apache.cassandra.tools
17 44 240 1346 52 org.apache.cassandra.utils
--------- --------- --------- ---------
396 2171 15060 482 Total
Packages Classes Functions NCSS Javadocs | per
-------------------------------------------------------------
17.00 396.00 2171.00 15060.00 482.00 | Project
23.29 127.71 885.88 28.35 | Package
5.48 38.03 1.22 | Class
6.94 0.22 | Function
Had too much NoSQL for one day? Then read this nice article written by Steve Blank - Convergent Technologies: War Story 1 – Selling with Sports Scores.
Cheers!
Friday, March 05, 2010
NoSQL OD, Bizarro, cappuccino and some sales stories
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment