Yesterday, search MongoDB data, introduction of the application of more, the principle of the introduction of not much.
Rough to look at, overall, the design of the two ideas are similar, mainly through the range to distribute data, background process data splitting
The difference between the two is mainly:
1. HBase relies on Hdfs;mongodb to be stored directly on the local disk
2, HBase according to the column family to store the data in different files; MongoDB is not separated, the entire document is stored in one (or a group) of files, Save a namespace through a generic. ns file (the difference between column-based and document-based should mean this place)
3, hbase a region only one hregionserver external service (no load balancing concept); MongoDB shards (similar to region) supports load balancing (master-slave structure, synchronization via log, This hbase is also in the development plan)
4, HBase According to the size of the file to control the division of region, MongoDB based on the load to determine shards split (no in-depth study, do not know how to load)
MongoDB Related introduction:
http://www.mongodb.org/
Http://www.slideshare.net/mdirolf/inside-mongodb-the-internals-of-an-opensource-database
Http://www.ningoo.net/html/2011/mongodb_in_a_nutshell_1.html
Http://blog.csdn.net/daizhj
Http://vschart.com/compare/hbase/vs/mongodb
Http://kkovacs.eu/cassandra-vs-mongodb-vs-couchdb-vs-redis
Http://hammerprinciple.com/databases/items/hbase/mongodb