Szczegóły ebooka

Mastering Concurrency Programming with Java 9. Fast, reactive and parallel application development - Second Edition

Mastering Concurrency Programming with Java 9. Fast, reactive and parallel application development - Second Edition

Javier Fernández González

Ebook
Concurrency programming allows several large tasks to be divided into smaller sub-tasks, which are further processed as individual tasks that run in parallel. Java 9 includes a comprehensive API with lots of ready-to-use components for easily implementing powerful concurrency applications, but with high flexibility so you can adapt these components to your needs.

The book starts with a full description of the design principles of concurrent applications and explains how to parallelize a sequential algorithm. You will then be introduced to Threads and Runnables, which are an integral part of Java 9's concurrency API. You will see how to use all the components of the Java concurrency API, from the basics to the most advanced techniques, and will implement them in powerful real-world concurrency applications.

The book ends with a detailed description of the tools and techniques you can use to test a concurrent Java application, along with a brief insight into other concurrency mechanisms in JVM.
  • 1. The First Step – Concurrency Design Principles
  • 2. Working with basic elements – Threads and Runnables
  • 3. Managing Lots of Threads – Executors
  • 4. Getting the Maximum from Executors
  • 5. Getting Data from the Tasks – The Callable
  • 6. Running Tasks Divided into Phases – The Phaser Class
  • 7. Optimizing Divide and Conquer Solutions – The Fork/Join Framework
  • 8. Processing Massive Datasets with Parallel Streams – The Map and Reduce Model
  • 9. Processing Massive Datasets with Parallel Streams – The Map and Collect Model
  • 10. Asynchronous Stream Processing – Reactive Streams
  • 11. Diving into Concurrent Data Structures and Synchronization Utilities
  • 12. Testing and Monitoring Concurrent Applications
  • 13. Concurrency in JVM – Clojure Groovy with Gpars library and Scala
  • Tytuł: Mastering Concurrency Programming with Java 9. Fast, reactive and parallel application development - Second Edition
  • Autor: Javier Fernández González
  • Tytuł oryginału: Mastering Concurrency Programming with Java 9. Fast, reactive and parallel application development - Second Edition
  • ISBN: 9781785887451, 9781785887451
  • Data wydania: 2017-07-17
  • Format: Ebook
  • Identyfikator pozycji: e_15md
  • Wydawca: Packt Publishing