Category Archives: Data Architecture

MongoDB: Lagged Replica with Replica Sets

In an enterprise database architecture, it’s very common to create a standby or replica database with a ‘lag’ in it’s state relative to the primary. Operations applied to the primary are not seen on the replica for some amount of … Continue reading

Posted in Data Architecture, Database Engineering, Mongodb | Tagged , | View Comments

Why Not Auto Increment in MongoDB

I came across this blog post with a nice pattern for auto-increment in MongoDB. It’s a great post, but there is something to think about beyond how to logically perform the operation; performance. The idea presented in the blog is … Continue reading

Posted in Data Architecture, Database Engineering, Mongodb, Python | Tagged , , , , | View Comments

Data clustering in MongoDB using embedded docs

I wrote a while ago about how to cluster data to save cash. This post was geared towards relational stores. But in reality, the technique is applicable to any block store on disk. To recap, the premise is simple. When … Continue reading

Posted in Data Architecture, Database Engineering, Mongodb | Tagged , , , | View Comments

MongoSF Slides

I had a great time at the MongoSF Conference on Friday. There were a ton of great presentations, and lots and lots of excitement. A big thanks to 10gen for inviting me to speak. I had a great time and … Continue reading

Posted in Data Architecture, Database Engineering, Mongodb | Tagged , | View Comments

Dropping ACID

The de-facto durability story in MongoDB is essentially… there is none. Or at least single server durability. OMFG! No ACID WTF! &^%#^#?! For the next generation of internet scale, downtime intolerant systems, ACID may not be a desirable property. Traditional … Continue reading

Posted in Data Architecture, Database Engineering, Mongodb, MySQL, Oracle | Tagged , , , , , , , , | View Comments