[SERVER-57472] Yield service executor worker threads after sinking messages Created: 04/Jun/21  Updated: 29/Oct/23  Resolved: 10/Jun/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.0-rc2, 5.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: George Wangensteen Assignee: George Wangensteen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Service Arch 2021-06-14
Participants:
Linked BF Score: 0

 Description   

As part of the rewrite to the ingress networking layer/SSM for the fixed-pool-project, service executor threads that formerly yielded after sinking a message to clients no longer do so. Sys-perf performance testing revealed this to negatively impact performance for write-throughput for workloads with many change-streams listeners, and further testing showed that re-introducing the yield significantly improved write throughput on those workloads. We should add this yield back in to resolve that regression.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 15/Jun/21 ]

Author:

{'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com', 'username': 'gewa24'}

Message: SERVER-57472 Yield service executor worker threads after sinking messages

(cherry picked from commit b695ced699ecd7529c3cfbc87b081bc60caea68b)
Branch: v5.0
https://github.com/mongodb/mongo/commit/25d62fe72cf0b5f43c07a4e5d8458d5e63e20216

Comment by Githook User [ 09/Jun/21 ]

Author:

{'name': 'George Wangensteen', 'email': 'george.wangensteen@mongodb.com', 'username': 'gewa24'}

Message: SERVER-57472 Yield service executor worker threads after sinking messages
Branch: master
https://github.com/mongodb/mongo/commit/b695ced699ecd7529c3cfbc87b081bc60caea68b

Generated at Thu Feb 08 05:41:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.