-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Environment:Windows 10, Mongo (3.6.4), NodeJS Driver (3.0.7), Node (8.9.4)
-
Empty show more show less
I am having an issue with slow performance now that our system is watching collections for changes (68 collections are being watched).
I noticed this issue: https://jira.mongodb.org/browse/SERVER-32946
I increased the poolSize to 100 to actually get the application to work.
However the first batch of user queries are extremely slow about 11 seconds each. After a few client calls from our web app the server starts performing normally.
The number of connections (in log) grows to about 80 and it seems to stabilize.
Any ideas on how I can ideally fix this initial lag or better diagnose what is going on? It seems as if internal connections inside the pool are slow.
The web app uses a single shared db variable, there is also an express passport middle-ware
involved using a mongostore.
TIA
Kevin
- is documented by
-
NODE-1440 Document minSize option
- Closed