O'Reilly logo

Meteor Design Patterns by Marcelo Reyna

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting up Compose

Although Modulus.io offers MongoDB hosting, Modulus does not grant access to Meteor's oplog tailing feature and does not have any support for multiple replica sets. Both these features are must-haves for production and this is why.

A MongoDB Replica Set is an exact copy of your database. When you first create a database in Compose, you are automatically given a primary Replica Set with a secondary Replica Set to support it. Since failures happen, the secondary Replica Set exists to replace the primary replica set immediately when the primary fails. In the database world, this is known as data redundancy.

This layer of security adds an interesting problem; how do the secondary databases know about the changes that are happening ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required