ParallelStream Vs Stream Digest, Vol 113, Issue 94

John Rose john.r.rose at oracle.com
Fri Sep 30 19:41:05 UTC 2016


On Sep 29, 2016, at 11:39 PM, Louis Wasserman <wasserman.louis at gmail.com> wrote:
> 
> You should absolutely not assume parallel streams are faster than
> sequential streams.
> http://gee.cs.oswego.edu/dl/html/StreamParallelGuidance.html <http://gee.cs.oswego.edu/dl/html/StreamParallelGuidance.html> is pretty much
> the iconic document on that subject, and explains circumstances under which
> parallelism is good, and when it is likely to be harmful.

Stuart Marks and Brian Goetz gave an excellent talk on this at JavaOne last week.

You can view it here.  The talk is called "Thinking in Parallel".
https://youtu.be/WSxKI5S8j90?t=8h51m34s <https://youtu.be/WSxKI5S8j90?t=8h51m34s>

InfoQ wrote a useful summary of the talk, for those with no time for video:
https://www.infoq.com/news/2016/09/JavaOne-2016-parallel-streams <https://www.infoq.com/news/2016/09/JavaOne-2016-parallel-streams>

But the video is very enjoyable, even if you think you know what they are going to say.

— John

P.S.  One influence of this year's presentation is an epic manifesto by Guy Steele in 2010.
https://www.infoq.com/presentations/Thinking-Parallel-Programming <https://www.infoq.com/presentations/Thinking-Parallel-Programming>



More information about the core-libs-dev mailing list