Benchmarks and advantages

95 views
Skip to first unread message

Voltron

unread,
Mar 3, 2009, 3:48:32 AM3/3/09
to mongodb-user
Could someone tell me if there are benchmarks using MongoDB and the
the advantages of MongoDB against somethimg like CouchDB?


Thanks

Geir Magnusson

unread,
Mar 3, 2009, 4:56:15 AM3/3/09
to mongod...@googlegroups.com
We're in the process of doing some. You can find current results here.

http://www.mongodb.org/display/DOCS/Performance+Testing

The "problem" is that MongoDB is so fast, performance tends to be
limited by driver performance :)

The main differences between MongoDB and CouchDB are speed and query
model.

1) MongoDB is very, very fast. We can do inserts north of 20k/sec,
where on CouchDB on the same hardware, about 250-300/sec is the max.

2) The query models are quite different - MongoDB has a query model
that is direct, uses indexes, and very similar to the model you might
be used to in an RDBMS (doesn't use SQL though). CouchDB uses a
"view" system which, while very nice, doesn't allow arbitrary queries,
and limits to what you can express in a key/value lookup.

Also, MongoDB's storage format - while akin to JSON - goes beyond JSON
by adding a few types like date, which is important for querying...

I guess just as important a question... what problem are you trying to
solve? What do you plan on using the DB for?

geir

Voltron

unread,
Mar 3, 2009, 5:59:20 AM3/3/09
to mongodb-user
Thanks for the reply. I intend to use it for a site that privides
electronic download content and a small community around the content

Geir Magnusson

unread,
Mar 3, 2009, 6:03:15 AM3/3/09
to mongod...@googlegroups.com
so you'd store the content in the DB?

Voltron

unread,
Mar 3, 2009, 6:56:02 AM3/3/09
to mongodb-user
Partly. I intend to store Avatar images, and preview files and
thumbnails for the content. The main content itself on the file system

Voltron

unread,
Mar 3, 2009, 6:56:48 AM3/3/09
to mongodb-user
Or is it a bad idea? The files( main content) would probably average
about 10 MB

On Mar 3, 12:03 pm, Geir Magnusson <g...@10gen.com> wrote:

Geir Magnusson

unread,
Mar 3, 2009, 7:03:51 AM3/3/09
to mongod...@googlegroups.com
It will be fine. From the start MongoDB was intended to handle large
binary objects easily, and it can.

Take a look at the "GridFS" part of the drivers - makes it easy to
store and retrieve big binary objects...

geir

Voltron

unread,
Mar 3, 2009, 7:11:17 AM3/3/09
to mongodb-user
great, thanks
Reply all
Reply to author
Forward
0 new messages