Long-running operations (> 500 ms) should always go to a dedicated thread.
I used to think it didn't matter much, but I just ran into a situation where the threadpool wasn't scaling properly, and keeping this threadpool worker just to wait on a queue was causing a significant drop in a throughput.
Long-running operations (> 500 ms) should always go to a dedicated thread.
I used to think it didn't matter much, but I just ran into a situation where the threadpool wasn't scaling properly, and keeping this threadpool worker just to wait on a queue was causing a significant drop in a throughput.