
Автор: Francisco Lopez-Sancho
Издательство: Manning Publications
Год: 2023
Страниц: 472
Язык: английский
Формат: pdf, epub
Размер: 13.1 MB
Use Akka to solve the big problems of distributed systems—from multithreading and concurrency, to handling scalability and failure. Akka in Action, Second Edition teaches you to use the latest version of Akka to solve common problems of distributed systems. Akka contributor Francisco Lopez-Sancho demonstrates Akka’s complex concepts through real-world use cases, including clustering, sharding, persistence, and deploying to Kubernetes. Discover the power of the Actor model, and how to leverage most of the Akka modules to create microservices that are reliable and fault tolerant. Akka is a toolkit of libraries that make it easy to implement distributed applications in Scala and Java. Akka’s Actor model avoids many of the complexities of multithreading, while making systems elastic and resilient, and provides strong consistency. Akka gives you a single abstraction to deal with concurrency and scalability--the Actor Model, which is coherent semantics that let you work on your business logic without worrying about whether your program needs to run on a thousand servers or just one.