Mastering Concurrency Programming with Java 9 Second Edition
暫譯: 精通 Java 9 並發程式設計(第二版)
Javier Fernandez Gonzalez
- 出版商: Packt Publishing
- 出版日期: 2017-07-17
- 售價: $2,220
- 貴賓價: 9.5 折 $2,109
- 語言: 英文
- 頁數: 516
- 裝訂: Paperback
- ISBN: 1785887947
- ISBN-13: 9781785887949
-
相關分類:
Java 程式語言
-
相關翻譯:
精通Java並發編程 第2版 (簡中版)
買這商品的人也買了...
-
$2,500$2,375 -
$620$527 -
$3,070$2,917 -
$480$379 -
$2,090Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems (Paperback)
-
$301精通 Nginx, 2/e ( Mastering NGINX, 2/e)
-
$2,520$2,394 -
$2,200$2,090 -
$1,980$1,881 -
$2,242Java Performance: In-Depth Advice for Tuning and Programming Java 8, 11, and Beyond, 2/e (Paperback)
-
$680$537 -
$1,000$790 -
$3,040The Algorithm Design Manual, 3/e (Hardcover)
-
$2,835Head First Android Development: A Learner's Guide to Building Android Apps with Kotlin, 3/e
-
$1,680$1,596
商品描述
Key Features
- Implement 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
Book Description
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 to implement powerful concurrency applications in an easy way, but with a high flexibility to adapt these components to your needs.
The book starts with a full description of design principles of concurrent applications and 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 basics to the most advanced techniques and will implement them in real-world powerful concurrency applications.
We use real-world examples of complex algorithms related to machine learning, data mining, natural language processing, and more. You will also get acquainted with the data structures and synchronization utilities to avoid data-race conditions and other critical problems. We also explain reactive streams and how they help in asynchronous stream processing.
Finally, the book ends with a detailed description of the tools and techniques you can use to test a Java concurrent application, along with a brief insight into other concurrency mechanisms in JVM.
What you will learn
- Master 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 (a new feature of Java 9)
- 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 learning, and more
商品描述(中文翻譯)
關鍵特點
- 使用 Java 9 的併發 API 及其新組件實現併發應用程式
- 提升應用程式的性能,同時處理更多數據,充分利用所有資源
- 構建與機器學習、數據挖掘、自然語言處理等相關的實際範例
書籍描述
併發程式設計允許將幾個大型任務劃分為更小的子任務,這些子任務進一步作為獨立任務並行處理。Java 9 包含一個全面的 API,提供許多現成的組件,以簡單的方式實現強大的併發應用程式,同時具有高度的靈活性以適應您的需求。
本書首先詳細描述了併發應用程式的設計原則以及如何將順序算法平行化。接著,您將了解 Threads 和 Runnables,這是 Java 9 併發 API 的重要組成部分。您將學習如何從基礎到最先進的技術使用 Java 併發 API 的所有組件,並在實際的強大併發應用程式中實現它們。
我們使用與機器學習、數據挖掘、自然語言處理等相關的複雜算法的實際範例。您還將熟悉數據結構和同步工具,以避免數據競爭條件和其他關鍵問題。我們還解釋了反應式流以及它們如何幫助進行非同步流處理。
最後,本書以詳細描述您可以用來測試 Java 併發應用程式的工具和技術作結,並簡要介紹 JVM 中的其他併發機制。
您將學到的內容
- 掌握每個併發應用程式必須遵循的原則
- 了解如何平行化順序算法,以獲得更好的性能,避免數據不一致和死鎖
- 從 Java 併發 API 組件中獲取最大效益
- 使用 Executor 組件將線程管理與應用程式的其他部分分開
- 使用 Phaser 組件以高效的方式執行基於階段的任務
- 使用 Fork / Join 框架解決問題,利用平行化的分而治之範式
- 瞭解如何使用平行 Streams 和反應式 Streams(Java 9 的新特性)
- 實現 'map and reduce' 和 'map and collect' 程式設計模型
- 控制 Java 併發 API 提供的併發數據結構和同步機制
- 為一些實際問題(如數據挖掘、機器學習等)實現高效的解決方案