meteormongodb-oplog

Meteor oplog tailing and performance


What are the advantages of using oplog tailing with Meteor? I know of these:

More specifically, given a Meteor app where the ‘real-time’ aspect isn’t that important (i.e. not write intensive enough that a client is likely to see any data changing during their session) and also ignoring the availability advantages of having replica sets, are there any other advantages of using oplog tailing?


Solution

  • In the absence of tailing the oplog Meteor will use polling stay in sync with the current state of the collections. This can increase the bandwitdth usage and CPU load on Mongo. Thus the final advantage of using oplog is that it results in MongoDB being more performant overall since it lowers the load.