February 17, 2010

Posted by John

« older newer »

MongoDB CTO Interviewed

Eliot Horowitz is the CTO and co-founder of 10gen, the company powering MongoDB. Recently, he was interviewed by How Software Is Built. A few of the highlights are quoted below.

What is the data model

I think the first question you have to ask about any database these days is, “What’s the data model?”

Instead of just jumping to the relational model, I love that nowadays we have choices and can really think through what works best for how our data will be stored and presented.

On more simple mapping of objects

There are probably 1,000 different ORMs in the world, so clearly, it’s an unsolved problem, and every week you hear about a new one coming out. That whole class of problems exists because there’s a very clunky mapping from objects to relational databases. With document databases, that mapping becomes much simpler.

In many cases, it enables a direct mapping. You can take your object and direct it toward the database. And when you do need to do a mapping, the whole class of problems is massively simplified.

I could not agree with this more. The single thing that I have enjoyed most about mapping data to Mongo is how it feels far more simple. Because Mongo has array and hash types built in, all you really need is a thin layer of turning those stock arrays and hashes into smarter objects. Really increases development speed.

On switching from MySQL

That means that if you’re coming from MySQL, it’s a pretty easy transition to MongoDB.

Definitely a good point. I tried several document databases and key/value stores before being introduced to Mongo. It was the first one that clicked.

Closing Thoughts

The interview was great and covered a lot of stuff. Whether you are new to Mongo or a mainstay, you’ll pick up some interesting bits from it.

Labels: Elsewhere

1 Comment

  1. Instead of just jumping to the relational model, I love that nowadays we have choices and can really think through what works best for how our data will be stored and presented.

    100% agreed, it’s nice to not have to default to an ORM every time I need some database functionality.

    BTW, mongotips is looking promising, i’m excited.

Thoughts? Do Tell...


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

About

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

Syndication

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