aboutsummaryrefslogtreecommitdiff
path: root/src/zenutil/workerpools.cpp
Commit message (Collapse)AuthorAgeFilesLines
* separate worker pools into burst/background to avoid background jobs ↵Dan Engelbrecht2024-08-221-70/+48
| | | | blocking client requests (#134)
* Use a smaller thread pool for network operations when doing oplog import to ↵Dan Engelbrecht2024-05-301-1/+1
| | | | | reduce risk NIC/router failure (#89) Medium worker pool now uses a minimum of 2 threads (up from 1)
* Use multithreading to fetch size/rawsize of entries in ↵Dan Engelbrecht2024-03-281-2/+25
| | | | | | `/prj/{project}/oplog/{log}/chunkinfos` and `/prj/{project}/oplog/{log}/files` (#30) - Improvement: Use multithreading to fetch size/rawsize of entries in `/prj/{project}/oplog/{log}/chunkinfos` and `/prj/{project}/oplog/{log}/files` - Improvement: Add `GetMediumWorkerPool()` in addition to `LargeWorkerPool()` and `SmallWorkerPool()`
* safe threadpool shutdown (#584)Dan Engelbrecht2023-12-041-0/+6
| | | * shut down thread pools earlier to worker threads has a chance to terminate before main thread atexit
* global thread worker pools (#577)Dan Engelbrecht2023-11-291-0/+89
- Improvement: Use two global worker thread pools instead of ad-hoc creation of worker pools