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

Lazily create eventfd when we first need to poll on it in AsioNetworkingBaton

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • Fully Compatible
    • Service Arch 2024-03-04, Service Arch 2024-03-18, Service Arch 2024-04-01
    • 135

      As a potential minor performance optimization, mathias@mongodb.com suggested we could lazily create the eventfd the first time we need to poll on it (here), rather than when we create the client. This should be a very easy change with small potential gains in performance.

            Assignee:
            ryan.berryhill@mongodb.com Ryan Berryhill
            Reporter:
            ryan.berryhill@mongodb.com Ryan Berryhill
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: