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

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.5
    • Component/s: Internal Code
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Service Arch 2018-11-05

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jason.carey Jason Carey
              Reporter:
              jason.carey Jason Carey
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: