Streams in Java 8: Reduce vs. Collect
Since Java 8 the JDK has a Stream API. Among numerous other operations the Stream API offers two operations - reduce() and collect() - which are occasionally misunderstood and thus used incorrectly - at the expense of introducing subtle bugs in conjunction with parallel strams. In this tutorial we will discuss the background of this common misconception: reduce () is an operation that stems from functional programming languages, where objects are typically immutable. Java, in contrast, is an object oriented language, where most objects are mutable. Hence, Java needs something like a "mutable reduction". This is what the stream operation collect() offers. As both operations - reduce() and collect() - are very similar, they are occasionally mixed up - which can lead to concurrency issues when executed on parallelstream. The tutorial will explain why. jDays 2016

Streams in Java 8. Part 2

Clean Lambdas - by Victor Rentea at JBCNConf'17

Java Stream Vs IntStream : Which one for better performance ? | Boxing & Unboxing in Stream API

Collections Refueled by Stuart Marks

Parallel Streams, CompletableFuture, and All That: Concurrency in Java 8

Effective Java - Still Effective After All These Years

Java 8 Streams & Collectors : patterns, performances, parallelization

Tomasz Nurkiewicz — CompletableFuture in Java 8, asynchronous processing done right

Effective Java, Third Edition Keepin' it Effective (J. Bloch)

Java 8 best practices by Stephen Colebourne

Teaching old Streams new tricks By Viktor Klang

API Design With Java 8 Lambda and Streams

Functional Programming with Java 8 by Venkat Subramaniam

Garbage collection in Java, with Animation and discussion of G1 GC

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

Static vs Non-Static Variables and Methods In Java - Full Simple Tutorial

Thinking In Parallel by Stuart Marks and Brian Goetz

Java Stream Collect : Learn the difference in Java Stream Reduce vs Collect

Collections Corner Cases by Stuart Marks

