Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
Query Execution
Description
Currently, change stream requires 1 connection for each watcher to be notified through MongoDB driver.
In a fairly medium complex reactive application or in micro service architecture having hundreds of watchers is common but since MongoDB driver consumes 1 exclusive DB connection for each watcher registered it becomes a scaling problem.
A more reasonable design would allow registering/multiplexing multiple watchers over single DB connection.
Attachments
Issue Links
- is related to
-
DOCS-11270 [Server] Large number of change streams requires large pool size
-
- Closed
-
- related to
-
SERVER-36835 High mongod CPU usage on multiple change streams
-
- Backlog
-