[SERVER-37797] Modify the producer consumer queue to make it safe for multi-producer scenarios Created: 29/Oct/18 Updated: 29/Oct/23 Resolved: 02/Nov/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.5 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Mira Carey |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Service Arch 2018-11-05 | ||||||||
| Participants: | |||||||||
| 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 |
| Comments |
| Comment by Githook User [ 02/Nov/18 ] |
|
Author: {'name': 'Jason Carey', 'email': 'jcarey@argv.me', 'username': 'hanumantmk'}Message: Add support for MultiProducer + MultiConsumer on our existing PCQ and |