2nd Revised Edition — Packt Publishing, 2017. — 516 p.
Master the principles to make applications robust, scalable and responsive.
About This BookImplement concurrent applications using the Java 9 Concurrency API and its new components
Improve the performance of your applications and process more data at the same time, taking advantage of all of your resources
Construct real-world examples related to machine learning, data mining, natural language processing, and more
What You Will LearnMaster the principles that every concurrent application must follow
See how to parallelize a sequential algorithm to obtain better performance without data inconsistencies and deadlocks
Get the most from the Java Concurrency API components
Separate the thread management from the rest of the application with the Executor component
Execute phased-based tasks in an efficient way with the Phaser components
Solve problems using a parallelized version of the divide and conquer paradigm with the Fork / Join framework
Find out how to use parallel Streams and Reactive Streams
Implement the “map and reduce” and “map and collect” programming models
Control the concurrent data structures and synchronization mechanisms provided by the Java Concurrency API
Implement efficient solutions for some actual problems such as data mining, machine