async-http-client icon indicating copy to clipboard operation
async-http-client copied to clipboard

use Executors.newCachedThreadPool() as ExecutorService is bad

Open zhaojianping opened this issue 12 years ago • 3 comments

when I first test execute 2000+ , , cpu is 100% busy , final perfomance is not good .

zhaojianping avatar Jan 26 '14 10:01 zhaojianping

Sorry, I don't get it. What do you mean by:

2000+ ?

Are you sure you're not instanciating one provider per request (which is very bad)?

slandelle avatar Jan 26 '14 10:01 slandelle

@zhaojianping Ping? Any feedback? Otherwise I'll close this.

slandelle avatar Jan 28 '14 09:01 slandelle

This is configurable, hence closing.

jfarcand avatar Jan 28 '14 13:01 jfarcand