Hope someone can help me. This is happening on macOS, when upgrading to Meteor 1.10.2 my code execution is slowing down dramatically (locally).
Probably by a factor of 0.1 (10x slower) or even more. Code that was running in seconds is taking minutes now.
I suspect it has to do with the MongoDb driver as the release notes for 1.10.1 say this:
“The version of MongoDB used by Meteor in development has been updated from 4.0.6 to 4.2.1, and the mongodb driver package has been updated from 3.2.7 to 3.5.4”
I hope @klaussner or someone else can help me out. I need to do a lot of manipulations on our 400 Mb database and it’s so painfully slow but I don’t have much time as this is the Production db and our app is currently down due to that.
I think I’m missing something here. How does local slowness have impact on production DB, which I assume is not on your local machine? 400MB isn’t much so there is no reason for slowness because of the data size. Still check that you have properly set indexes to support the queries your are making. Some examples of the queries you are making would also be super useful to figure out where the problem might be.
Wanted to give feedback on this behavior. Turns out to be that the standard MongoDb poolsize was too small for the local test functions I ran (which can go up much higher than the 1000 IOPS limit our M10 server has).
Increasing the poolsize has helped in solving the bottleneck. Why this became only a problem when upgrading from 1.9.3 to 1.10.3 is beyond me.
Mongo Connection Options / Meteor settings have been introduced in 1.10.2. This change may have to do something with the change of default values. Nothing indicates in the documentation that it has, but this was certainly a recent introduction around those values.