Free Sample
+ Collection

Akka Essentials

Starting
Munish K. Gupta

A practical, step-by-step guide to learn and build Akka's actor-based, distributed, concurrent, and scalable Java applications with this book and ebook.
$29.99
$49.99
RRP $29.99
RRP $49.99
eBook
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849518284
Paperback334 pages

About This Book

  • Build large, distributed, concurrent, and scalable applications using the Akka’s Actor model
  • Simple and clear analogy to Java/JEE application development world to explain the concepts
  • Each chapter will teach you a concept by explaining it with clear and lucid examples– each chapter can be read independently

Who This Book Is For

This book is aimed at developers, architects who are building large distributed concurrent and scalable applications using Java/Scala. The book assumes knowledge of Java/JEE concepts but no knowledge of Actor model is assumed.

Table of Contents

Chapter 1: Introduction to Akka
Background
Akka use cases
Summary
Chapter 2: Starting with Akka
Application requirements
Application design
Start development
Summary
Chapter 3: Actors
Actors
Defining an actor
Creating actors
Messaging model
Stopping actors
Killing actors
Actor lifecycle monitoring
HotSwap
Summary
Chapter 4: Typed Actors
What are typed actors?
Defining an actor
Creating actors
Messaging model
Stopping actors
Actor lifecycle monitoring
Creating an actor hierarchy
Dispatchers and routers
Summary
Chapter 5: Dispatchers and Routers
Dispatchers
Routers
Summary
Chapter 6: Supervision and Monitoring
Let It Crash
Supervision
Supervision strategies
Lifecycle monitoring
Fault tolerance
Summary
Chapter 7: Software Transactional Memory
Transaction management
Coordinated transactions
Transactor
Agents
Summary
Chapter 8: Deployment Ready
Testing your Akka application
Managing application configuration using Akka extensions
Deployment mode
Summary
Chapter 9: Remote Actors
Distributed computing
Remote actors
Message serialization
Remote events
Summary
Chapter 10: Management
Application monitoring
Typesafe console
Graphical dashboard
JMX and REST interfaces
Summary
Chapter 11: Advanced Topics
Durable mailboxes
Actors and web applications
Integrating actors with ZeroMQ
Summary

What You Will Learn

  • Scale up and out your applications using dispatchers and remoting
  • Build fault tolerance within your application
  • Handle transactions within your application
  • Unit test your Akka applications
  • Integrate your Akka applications with existing enterprise systems using Zeromq
  • Monitor the health of your Akka application

In Detail

Developers/Architects need to manage the fine balance between the ever increasing load and ever decreasing response latency. Applications need to be designed for Internet scale, which means you need to be skilled in building large distributed, scalable, and concurrent applications. Whether you are building the next Facebook or working for a Fortune 500 organization, you need to be ready to design scalable, concurrent, and fault-tolerant applications. Akka is a toolkit and runtime for building highly concurrent, distributed, and fault-tolerant event-driven applications on the JVM.

"Akka Essentials" will show you the current challenges with Java Scalability and concurrency model and how Akka’s Actor Model can help you design and build applications that are inherently scalable and fault-tolerant. Whether you are building new applications or want to refactor an existing application, you will learn the right techniques to build and scale up in no time.

Authors

Read More