Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

MongoDb vs CouchDb ?  RSS feed

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kyle,

About document oriented database, what would you tell about CouchDb, compared to, say (by any chance), MongoDb ?

1) Is this only a performance point of view ?
I found CouchDb much more difficult to interact with, essentially because it does not provided official libraries (official jars for example).

2) What about "Design documents" in CouchDb, is there a need for them in MongoDb ?

Thanks a lot for your un-opinionated answers,

Tom
 
author
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Thomas,

What I can say is that although both are classified as "document database", they quite different.

There are huge differences in architecture, storage engine, etc. MongoDB has single-master replication with automated failover. CouchDB has multi-master replication, which requires client-side resolution of conflicts. MongoDB scales by partitioning data across shards. CouchDB is purely replication-based, if I recall correctly.

I do know that there have been big changes in the CouchDB project of late (see CouchBase) but don't know much about them. I'm also not familiar with CouchDB design documents. Sorry I can't be more help!

Kyle
 
Thomas Queste
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Important differences from an architecture point of view, for sure.
Thanks Kyle for your answer.
 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Kyle Banker wrote:
I'm also not familiar with CouchDB design documents. Sorry I can't be more help!



I'm not familiar with mongodb beyond casually looking at the site this morning (which I liked) but I would guess that there is no equivalent in mongo because mongo does not aspire to provide both front and back end services, which couch does (hence couchapps and all that). There's probably an advantage to that; as someone else here remarked, the mongo interface looks more flexible and friendly (whereas with couch there is a stress on hardcoding views, etc). A potential advantage of the couch model would be that it allows you to encapsulate more behaviour into the server.


 
Thomas Queste
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hum, interesting !
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!