Closed azell closed 9 years ago
The default of 10 I/O threads is likely overkill for an httpclient instance. Instead allocate 1 thread per available processor.
1 per core is just as arbitrary and probably overkill as well. This number may have been left from a time when the Apache async client wasn't truly async. Should be changed to 1 or 2.
Thanks!
The default of 10 I/O threads is likely overkill for an httpclient instance. Instead allocate 1 thread per available processor.