Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams
暫譯: Java中的反應式流:使用RxJava、Reactor和Akka Streams進行併發處理
Adam L. Davis
相關主題
商品描述
Get an easy introduction to reactive streams in Java to handle concurrency, data streams, and the propagation of change in today's applications. This compact book includes in-depth introductions to RxJava, Akka Streams, and Reactor, and integrates the latest related features from Java 9 and 11, as well as reactive streams programming with the Android SDK.
Reactive Streams in Java explains how to manage the exchange of stream data across an asynchronous boundary―passing elements on to another thread or thread-pool―while ensuring that the receiving side is not forced to buffer arbitrary amounts of data which can reduce application efficiency. After reading and using this book, you'll be proficient in programming reactive streams for Java in order to optimize application performance, and improve memory management and data exchanges.
What You Will Learn
- Discover reactive streams and how to use them
- Work with the latest features in Java 9 and Java 11
- Apply reactive streams using RxJava
- Program using Akka Streams
- Carry out reactive streams programming in Android
Who This Book Is For
Experienced Java programmers.
商品描述(中文翻譯)
獲得對 Java 中反應式串流的簡易介紹,以處理當今應用程式中的併發性、數據串流和變更的傳播。本書內容精簡,包含對 RxJava、Akka Streams 和 Reactor 的深入介紹,並整合了 Java 9 和 11 的最新相關功能,以及使用 Android SDK 的反應式串流編程。
《Reactive Streams in Java》解釋了如何管理跨非同步邊界的串流數據交換——將元素傳遞給另一個執行緒或執行緒池——同時確保接收方不必緩衝任意數量的數據,以免降低應用程式效率。閱讀並使用本書後,您將能熟練地編程 Java 的反應式串流,以優化應用程式性能,並改善記憶體管理和數據交換。
您將學到的內容:
- 探索反應式串流及其使用方法
- 使用 Java 9 和 Java 11 的最新功能
- 應用 RxJava 進行反應式串流
- 使用 Akka Streams 進行編程
- 在 Android 中進行反應式串流編程
本書適合對象:
有經驗的 Java 程式設計師。