Master-Slave 2.0: Replica Sets
MongoDB's replica sets are very similar to a normal master-slave setup, except they are self-monitoring: if the master goes down, the slaves will band together to promote a new master automatically.
It's easy to try this out and fun to watch the automatic failover (or perhaps I'm easily amused). You'll need to download MongoDB and the MongoDB Perl driver (cpan MongoDB). Once you unzip the MongoDB binaries, you're ready to spin up a replica set (…
I maintain the MongoDB CPAN module. I'm the author of MongoDB: The Definitive Guide and I've given talks at conferences around the world.