图书标签: Akka Scala Concurrent Actor scala akka 编程语言 Programming
发表于2024-12-25
Effective Akka pdf epub mobi txt 电子书 下载 2024
Avoid common mistakes when building distributed, asynchronous, high-performance software with the Akka toolkit and runtime. With this concise guide, author Jamie Allen provides a collection of best practices based on several years of using the actor model. The book also includes examples of actor application types and two primary patterns of actor usage, the Extra Pattern and Cameo Pattern.
Allen, the Director of Consulting for Typesafe—creator of Akka and the Scala programming language—examines actors with a banking-service use case throughout the book, using examples shown in Akka and Scala. If you have any experience with Akka, this guide is essential.
Delve into domain-driven and work-distribution actor applications
Understand why it’s important to have actors do only one job
Avoid thread blocking by allowing logic to be delegated to a Future
Model interactions as simply as possible to avoid premature optimization
Create well-defined interactions, and know exactly what failures can occur
Learn why you should never treat actors as you would an ordinary class
Keep track of what goes on in production by monitoring everything
Tune Akka applications with the Typesafe Console
Jamie Allen
Jamie Allen is the Director of Consulting for Typesafe, the company that makes the Scala programming language, the Akka toolkit and Play Framework. Jamie has been building actor-based systems with Scala since 2009. Jamie lives in the San Francisco Bay Area with his wife, Yeon, and three children.
最近花了几个晚上看完了这本书,本书就70几页,满满的干货。第三章标题为Best Practices,即最佳实践。本书适合有一定akka基础的读者阅读,不是入门级的书籍,只有在实际开发中踩过坑才能深刻体会到作者的经验是多么对。
评分没有想象中的好
评分没有想象中的好
评分基于线程池的主动调度 future promise 及for comperhensive. 2017,4月更新: 近期做一个框架 跟书中描述的场景一模一样, 如何保存收到请求时的上下文, 再收到所有异步响应后, 找回原来的上下文继续返回给最开始的请求者. https://github.com/whunmr/msgrpc
评分没有想象中的好
评分
评分
评分
评分
Effective Akka pdf epub mobi txt 电子书 下载 2024