Hi,
Yesterday there was a presentation of the Java8 Stream API at the local JUG.
According to the speaker (Paul Sandoz) parallelism should be disabled in webapps because
:
"...a machine serving web requests is usually sized/configured to maximize
throughput. If web application code was using parallel streams
then CPU resources would be consumed computing results that could otherwise be used to
serve other web requests. A stream computation
running on a fork/join pool will not block, it will try and go as fast as possible using
as many resources as possible."
What do you think ?
Emmanuel