Open
Description
When I use enqueue to asyn my thread, with 2000tps, failed with large thread blocked, In spite of the dispatch thread pool of okhttpclient has been set.
check the code ,found syncronized lock, which will be the main problem.
when I use execute with CompletableFuture and custom thread pool instead of enqueue , the block problem has gone.
maybe enqueue function can be Optimized。
Metadata
Metadata
Assignees
Labels
No labels