[SERVER-58383] Document Server-Internal ThreadPools Created: 08/Jul/21  Updated: 29/Oct/23  Resolved: 20/Aug/21

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

Type: Task Priority: Major - P3
Reporter: Amirsaman Memaripour Assignee: Billy Donahue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2021-08-23, Service Arch 2021-09-06
Participants:
Story Points: 5

 Description   

We have a few types that extend ThreadPoolInterface to allow running tasks asynchronously and using a pool of worker threads. Some of these types allow running tasks local to a process (e.g., ThreadPool) and others provide the means to run remote tasks (e.g., NetworkInterfaceThreadPool).

This ticket should document these types by providing a high-level summary, link to the inline documentation in the code, and examples of using their APIs (e.g., by linking to existing unit-tests).

At a minimum, this ticket should document the following types:

  • ThreadPool
  • ThreadPoolTaskExecutor
  • NetworkInterfaceThreadPool
  • ThreadPoolMock


 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 [ 20/Aug/21 ]

Author:

{'name': 'Billy Donahue', 'email': 'billy.donahue@mongodb.com', 'username': 'BillyDonahue'}

Message: SERVER-58383 arch guide for thread pools
Branch: master
https://github.com/mongodb/mongo/commit/ba81782f2e85e1d2972434a43b30d5c2db856a45

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