Slow meteor update


#1

Hi,

I was playing around with meteor and built a small prototype for my app. However, when I made updates to my mongo database, the updates took ~4-5 seconds to reflect on the web page. The collections are really small (~500 documents max). Is this normal? Also, I am running my meteor app and mongo db instance in 2 different docker containers. I wonder if that is what is slowing things down?


#2

Make sure that you have Mongo Oplog tailing enabled. This is what Meteor uses for data updates and if it is not available it falls back to polling every 3-5 seconds.


#3

You’re correct. I had to setup a replica set and then provide meteor with the oplog url for it to work. Thanks!