[SERVER-83053] Use atomic wait/notify in AsioNetworkingBaton instead of ::poll when there are no sessions Created: 09/Nov/23  Updated: 24/Jan/24

Status: Blocked
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Ryan Berryhill Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 0
Labels: perf-8.0, perf-tiger, perf-tiger-handoff, perf-tiger-q4, perf-tiger-triaged, risk
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-81797 Make our own portable implementation ... In Code Review
depends on SERVER-81793 Don't do any syscalls to notify a bat... Closed
Assigned Teams:
Service Arch
Sprint: Service Arch Prioritized List
Participants:

 Description   

With the changes in SERVER-81793 and the abstraction to be introduced in SERVER-81797, it should be possible for the `AsioNetworkingBaton` to avoid using `poll()` to wait for a notification in the case where we don't need to monitor any sockets. 

There is a patch in SERVER-81793 with a proof-of-concept implementation of this idea.


Generated at Thu Feb 08 06:51:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.