That’s incorrect. Even when expressed suboptimally, it still tends to result in overall higher throughput and consistently lower latency (work stealing executors specifically). And when you’re in this world, you can always do an optimization pass to better express the concurrency. If you’ve not written it async to start with, then you’re boned and have no easy escape hatch to optimize with.
replyWhy can’t you do the same optimization? Are you maxing out you OS system resources on thread overhead?
replyOS thread overhead can be pretty substantial. Starting new threads on Windows is especially expensive.
reply