O'Reilly logo

Java 9 Cookbook by Nick Samoylov, Mohamed Sanaulla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introduction

Concurrency--the ability to execute several procedures in parallel--becomes increasingly important as big data analysis moves into the mainstream of modern applications. Having CPUs or several cores in one CPU helps increase the throughput, but the growth rate of data volume will always outpace hardware advances. Besides, even in a multiple CPU system, one still has to structure the code and think about resource sharing to take advantage of the available computational power.  

In the previous chapters, we demonstrated how lambdas with functional interfaces and parallel streams made concurrent processing a part of the toolkit of every Java programmer. One can easily take advantage of this functionality with minimal guidance, if ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required