Book Image

Learning Akka [Video]

By : Salma Khater
Book Image

Learning Akka [Video]

By: Salma Khater

Overview of this book

<p>Akka helps you to build scalable, resilient, and fault-tolerant distributed systems that can provide outstanding performance on local machines as well as over remote networks. Employing the actor model, it is possible to leverage these lightweight entities to program highly available, high performance applications. It delivers a powerful scaffolding that can be used to delegate remoting, service failures, and load management so that you can focus solely on your system logic.</p> <p>Learning Akka delivers a clear and practical introduction to the Akka toolkit, explaining the key components you need to know to get up and running with developing applications of your own.</p> <p>We will start by looking at the actor model and how it solves concurrency problems. You will learn about the actor system, how to create hierarchical structures in Akka, and how to make routes in order to send messages to other actors. We will look at other use cases such as building an actor that can change its behavior during runtime. You will then create stateful actors, work with a cluster system, and work with remote actors. This course will also take you through testing the application with Akka testkit and making applications available over the web with Akka HTTP. Finally, we’ll employ best practices and you’ll get to know the common actor patterns used for development with Akka.</p> <p>By the end of this course, you’ll have a great foundation in Akka that will enable you to develop excellent applications and services with the toolkit.</p> <h1>Style and Approach</h1> <p>This video course delivers a methodical, step-by-step explanation of the major components of the Akka toolkit through practical code examples. We put everything together in the last stretch of the course to show you how Akka works in the wild.</p>
Table of Contents (9 chapters)
Chapter 9
Working with common Patterns in Akka
Content Locked
Section 4
Ordered Termination
What if you have children actors and you want to terminate them on a specific order after the parent has terminated? We will introduce the Ordered Termination pattern. - Introducing the Ordered Termination pattern - Quickly viewing the pattern implementation - Implementing a simple example