1. 首页
  2. 移动开发
  3. 其他
  4. MongoDB与CouchDB的全方位对比

MongoDB与CouchDB的全方位对比

上传者: 2020-07-30 12:57:31上传 PDF文件 113.89KB 热度 15次
NULL博文链接:https://xianqi-h.iteye.com/blog/1681438Comparing mongo db and couch db - mongoDBhttp://www.mongodb.org/display/docs/comparing+moclient driver per language: native socket protocol for client/server interface(notRESTuse of memory mapped files for data storagecollection -oriented storage(objects from the same collection are storedcontiguously)update-in-place(not MVCO)written in c++Use casesIt may be helpful to look at some particular problems and consider how we could solvethemif we were building Lotus Notes, we would use Couch as its programmer versioningreconciliation/MVCC model fits perfectly. Any problem where data is offline forhours then back online would fit this. In general, if we need several eventuallconsistent master-master replica databases, geographically distributed, often offline,we would use couch●mobi|eo Couch is better as a mobile embedded database on phones, primarily becauseof its online/offine replication/sync capabilitieswe like Mongo server-side; one reason is its geospatial indexesif we had very high performance requirements we would use mongo For exampleweb site user profile object storage and caching of data from other sourcesfor a problem with very high update rates, we would use mongo as it is good at thatbecause of its"update-in-place"design. For example see updating real timeanalytics countersIgno in contrast to the above couch is better when lots of snapshotting is a requirementbecause of its mvcc designGenerally, we find MongoDb to be a very good fit for building web infrastructureReferencesA schemaless(blog. mongodb. org)2. A forums (groups. google. com)3. A MVCC(en. wikipedia. org)4.AtomicOperations(www.mongodb.oro5.A views(wiki. apache.org6.AServer-sideProcessing(www.mongodb.org)7.Server-sideProcessing(www.mongodb.org8.Mapreduce(www.mongodb.org9. A updating real time analytics counters(blog. mongodb. org)Excerpted from Comparing Mongo DB and Couch DB-MongODBhttp://www.mongodb.org/display/docs/comparing+mongo+db+and+couch+db第3页共4页2011-10-1215:03Comparing mongo db and couch db - mongoDBhttp://www.mongodb.org/display/docs/comparing+moReadalSign Up& Read Comfortably-Anytime, AnywhereA subscription to Readability offers great features for mabile reading saving articles for later andsupporting the writers you enjoy. Learn More第4页共4页2011-10-1215:03
下载地址
用户评论