Better HN
topnewbestaskshowjobs
Log inSign up

fwef

1 karma · joined Mar 12, 2018 (8y ago) · 1 submissions

Submissions

comment 8y ago · link · parent

Would this work when connecting multiple threadpools (java executors)? Imagine I have a microservice where first threadpool downloads large files to disk (IO bound) and another threadpool that processes the downloaded data (CPU bound). Those two threadpools communicate with a bounded queue. Will using the concurrency-limit Executor allow me to get the best throughput in this scenario?