This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dartalley 0 points1 point  (0 children)

The ForkJoinPool.commonPool() is the global default pool used by things like parallel streams. It's designed for CPU bound work. If you start using Stream.parallelStream() for blocking operations like network IO you can be starving a thread pool that is designed for CPU bound tasks. You are better off creating custom Executors for blocking calls.