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

Parameterize ParkingLot on underlying waiter-list data structure

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Workload Scheduling
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      Refactor ParkingLot so that it is flexible enough to support different underlying data-structures to store the waiter-list. We should likely do this by taking the WaiterList as some sort of template parameter or introducing a separate abstraction for it. 

       

      Ensure that the existing implementation of the WaiterList (a std::list) can be used without any performance regressions, and demonstrate (but do not commit )that using a moodycamel::concurrentqueue or similar as the backing data structure can be done. 

       

      Removing the dependency of Notifyable on the data-structure will also need to be done, or made generic, as part of this work. 

            Assignee:
            Unassigned Unassigned
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: