meteor-gce
meteor-gce copied to clipboard
optimize using Oplog
Meteor performance is greatly increased by using Mongodb Oplog for database changes.
It might be a good idea to enable Oplog while installing mongodb on this server, see https://github.com/meteor/meteor/wiki/Oplog-Observe-Driver#oplogobservedriver-in-production for a how-to.
I read somewhere that enabling Oplog also has a downside. Although now I can't find anymore where it said that :p Maybe check if it's actually needed and what the difference would be?
Any updates on this issue? I would love to see oplog support/optimization!
As I understand the biggest upside is when you have multiple clients connecting to your mongodb instance. This script installs mongodb locally on the same server as your meteor application, it's not intended for a multi-server setup. In that case you should consider running your mongodb on a hosted solution like compose.io.
@Weijtmans why do you want/need oplog support? If it has benefits I'll make a pull request :)
been reeding into it... I see it's just a general "good practice" for meteor apps, and gives performance boost. Will make a pullrequest asap!
@lukasvan3l We are working on a scalable multi-server setup (on Google with Cluster) and are experimenting with different DB setups. Most of them benefit from oplog support. Thanks!