I have observed a problem in our production environment of our application. I have noticed that on some server methods the production bundle runs up to 10 times slower than in dev-environment! What I mean by slow is for example one server method I have which does alot of CPU-instensive work aswell as alot of I/O so I should state that it is not a client-side issue here.
Before I realized that it was actually the production bundle which was the issue, I thought that it was hardware issues on the production instance but eventually I tested deploying the production bundle on the same computer as which I develop and I found that it was slow there aswell.
I have made some tic-toc timings to the see what is going slow and for example simple find-queries by id take alot more time on the production-bundle. NOTE: I have not had time yet to analyze all parts of the code so I am not sure whether is only is database-issues or if all code is running slower.
Anyone else experienced this issue or has any idea what the problem could be?
Info: I am running Meteor 1.5.1.
Node versions tested: 4.2.6, 4.8.2