Registering multiple change stream watchers over single db connection

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              [DO NOT USE] Backlog - Query Execution
              Reporter:
              Piyush Katariya
              Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: