August 30, 2010

Posted by John

« older newer »

MongoDB Assumptions

Kristina Chodorow has a good post on the assumptions that MongoDB makes. There are 5 in all. MongoDB assumes…

  • that you have a 64-bit machine.
  • that you’re using a little-endian system.
  • that you have more than one server.
  • you want fast/unsafe, but lets you do slow/safe.
  • assume you’ll complain if something goes wrong.

The last 3 are my favorites. You should have more than one server. You control speed/durability (more on single server durability here). You should let them know if things do not work as expected.

Those points seem obvious, but they are good reminders. Be sure to read If it quacks like a rdbms… for details on each of the 5 points.

Labels: Elsewhere


Thoughts? Do Tell...

textile enabled, preview above, please be nice
use <pre><code class="ruby"></code></pre> for code blocks


Authored by John Nunemaker (Noo-neh-maker), a web developer and programmer who has fallen deeply in love with Mongo. More about John.


Feed IconMongoTips Articles - An assortment of news, howto's and thoughts on MongoDB.