MUP Deployment on Ubuntu 14.04 with external DB Performance


#1

Hello,
just tried deploying an application to a linux (ubuntu 14.04) box using an external mongo db (3.0) on the same machine as later tow apps and dos where needed.
Application works fine but response times are up to 20 times slower than on my local machine (macbook pro).
CPU is max to 50% complete and mongo is max 2%. Kadira Methods show that DB is the bottleneck. Some methods need 300 instead of 25 ms for the same operation.
Is there any configuration i have to make with mongo or meteor or what could be my mistake.
Any help appreciated.

Greets from Manila

Ralph


#2

Try getting some profiles from mongodb so you can be sure it’s a mongo issue. Sometimes, the problem can be the nodejs drive or something else. I think this guide will be useful.