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

Modify the producer consumer queue to make it safe for multi-producer scenarios

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.5
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Service Arch 2018-11-05

      The producer consumer queue we currently have is useful, but doesn't have support for multiple producers. A handful of small modifications will make it much more useful:

      1. Introduce a Pipe type which exposes the pcq as a producer end, a consumer end and an admin interface.

      2. Provide template params for the pcq so that we pay for multi-ness only for types that want it

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: