-
Type: Task
-
Resolution: Works as Designed
-
Priority: Major - P3
-
Affects Version/s: 2.2.22
-
Component/s: MongoDB 3.2
-
None
-
Environment:Ubuntu 16.04 running under vagrant / virtual box. mongod 3.2.6 running on localhost in vm with standalone setup. Node version 0.10.32, driver 2.2.22.
-
(copied to CRM)
-
Empty show more show less
NodeJS and mongod run on same instance and the host runs the run_test.sh command which utilizes httperf to generate a load of 500 requests per second. Running "db.serverStatus().connections" gives back "2" (one for the shell running the command and one for the node js application) while the test is running.
While testing same code under 2.1.18, the connection opens the five connections under the same load which allows it to handle ~500 requests per second rather than the ~100 request per second on 2.2.22.