[SERVER-71704] Interface for queue of work Created: 30/Nov/22 Updated: 01/Mar/23 Resolved: 01/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Gregory Noma | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Storage Execution
|
| Sprint: | Execution Team 2023-01-09 |
| Participants: |
| Description |
|
We keep a queue in front of the storage engine in order to prevent submitting too many concurrent operations. Going forward, this concept may apply more generally and we employ a similar mechanism elsewhere. Thus, it would make sense to have a general interface for this idea. This interface will likely have some sort of pluggable "policies", for instance for adjusting how operations are dequeued and for adjusting the amount of concurrency. This may even be similar to the current TicketHolder interface, but more generalized. |