Thread: https://openjs-foundation.slack.com/archives/C049LSE8QBH/p1769010116581549
We came up with a default idea that switching the default 4 threads to:
UV_THREADPOOL_SIZE="$(getconf _NPROCESSORS_ONLN) > 4 ? (getconf _NPROCESSORS_ONLN) : 4"
Might have a good impact on powerful machines. However, before taking any action, we should have some measurements:
- Benchmark a different set of machines
- Define a minimal HTTP server that serves a file
- Provide load on it until 4 threads become saturated (define the threshold)
- Bump UV_THREADPOOL_SIZE and see how it behaves.