Replica Sets Part 2: What are Replica Sets?

If you want to jump right into trying out replica sets, see Part 1: Master-Slave is so 2009. Replica sets are basically just master-slave with automatic failover. The idea is: you have a master and one or more slaves. If the master goes down, one of the slaves will automatically become the new master. TheContinue reading “Replica Sets Part 2: What are Replica Sets?”

Replica Sets Part 1: Master-Slave is so 2009

Replica sets are really cool and can be customized out the wazoo, so I’ll be doing a couple of posts on them (I have three written so far and I think I have a few more in there). If there’s any replica-set-related topic you’d like to see covered, please let me know and I’ll makeContinue reading “Replica Sets Part 1: Master-Slave is so 2009”

There must be 50 ways to start your Mongo

This blog post covers four major ones: Single server Master-slave Replica pairs Sharding Feel free to jump to the ones that interest you (for instance, sharding). Just start up a database, Ace Starting up a vanilla MongoDB instance is super easy, it just needs a port it can listen on and a directory where itContinue reading “There must be 50 ways to start your Mongo”