Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Java parallel streams use a global thread pool by default. The problem with this is that if you mix IO bound code and CPU bound code in the same thread pool the IO bound code will block the CPU bound code. If you don't explicitly choose the thread pool your code runs on then you will suffer from impossible to debug performance problems.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: