Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11753

Allow findAndModify/Update to use a tailable cursor (w/await_data)

    • Query Execution

      If one wanted to create a distributed message queue using MongoDB, the way to go about it would be to use tailable cursors to avoid having to poll, and use findAndModify to avoid the same message going to multiple consumers.

      Either of these options are available separately, but not together. Having these two options available together would make MongoDB able to be used as a really nice message queue.

      This was discussed briefly in SERVER-8602.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            mattparlane Matt Parlane
            Votes:
            12 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated: