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

Supports bulk resizing policy for TicketHolders

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • Fully Compatible
    • v8.0
    • Service Arch 2024-04-15, Service Arch 2024-04-29
    • 200

      The current implementation of TicketHolder::resize resizes the pool by adding or removing tickets one by one in a loop. This is acceptable for code like execution control, which changes the pool size by small increments and needs to wait until the concurrency level is actually at the new value. It's not acceptable for code like ingress admission control, which might need to resize the pool from 1 million tickets down to a few hundreds and would need this resize to take effect as quickly as possible.

            Assignee:
            vojislav.stojkovic@mongodb.com Vojislav Stojkovic
            Reporter:
            vojislav.stojkovic@mongodb.com Vojislav Stojkovic
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: