~/talk

Thread pools: variety of algorithms and features

Talkat Hydra 2022 · 2022-06-02..06-26· [concurrency]
links:none on file
slides:none on file

Compares concrete runtimes showing what actually causes slowdowns and how to fix them: measures with 500000 short tasks reveal long delays and queue contention when the default minimum threads equals processor count (12) and .NET threadpool’s hill climbing growth triggers spikes; explains the work stealing model used in many runtimes and the hill climbing plus Fourier based heuristics in .NET; builds a custom downloader thread pool with an external strategy, per‑thread init/teardown, throughput history and tail time prediction and shows it reduces contention and improves throughput.

AI-written summary · about

  1. 0:00Introduction
  2. 1:26Thread pool goals
  3. 5:03Bandwidth control and load balancing
  4. 10:02Thread pool types by platform
  5. 15:27Thread pool practical use
  6. 20:52Thread pool performance measurement
  7. 29:06Analyzing Netty's thread pool
  8. 31:42Fourier transform with thread pools
  9. 38:51Thread pool growth algorithms
  10. 44:51Thread pool platform comparison
  11. 45:31Building a custom thread pool
  12. 56:16Summary and optimization outlook
  13. 1:00:33Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.