Part 3 of the replication internals series: three handy tricks. DIY triggers Using the oplog for crash recovery Creating non-replicated collections This is the third post in a three-part series on replication. See also parts 1 (replication internals) and 2 (getting to know your oplog). DIY triggers MongoDB has a type of query that behavesContinue reading “Bending the Oplog to Your Will”
Tag Archives: replication
Getting to Know Your Oplog
This is the second in a series of three posts on replication internals. We’ve already covered what’s stored in the oplog, today we’ll take a closer look at what the oplog is and how that affects your application. Our application could do billions of writes and the oplog has to record them all, but weContinue reading “Getting to Know Your Oplog”
Replication Internals
This is the first in a three-part series on how replication works. Replication gives you hot backups, read scaling, and all sorts of other goodness. If you know how it works you can get a lot more out of it, from how it should be configured to what you should monitor to using it directlyContinue reading “Replication Internals”
Scaling, scaling everywhere
Interested in learning more about scaling MongoDB? Pick up September’s issue of PHP|Architect magazine, the database issue! I wrote an article on scaling your MongoDB database: how to choose good indexes, help handle load using replication, and set up sharding correctly (it’s not PHP-specific). If you prefer multimedia, I also did an O’Reilly webcast onContinue reading “Scaling, scaling everywhere”
Choose your own adventure: MongoDB crash recovery edition
Suppose your application is happily talking to MongoDB and your laptop battery runs out. Or your server bursts into flame. Or velociraptors attack your data center. What now? To bring your server back up, read through the text until you get to a bold question. Click on the answer that best matches your situation toContinue reading “Choose your own adventure: MongoDB crash recovery edition”