Shopping Cart

Become a Instructor

Learning Akka

200 minutes of course content

Review course syllabus

$19.99 $75.00 (taxes calculated at checkout)

100% money-back guarantee  |  Click here to read more

Share this course:
Facebook Google LinkedIn Pinterest Twitter

Course Description

Explore the Akka toolkit to build highly scalable and robust applications

About This Video

  • Explore actors to see how Akka handles concurrency
  • Build a fault-tolerant system from the ground up
  • Understand the key concepts through real-life scenarios

In Detail

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.

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.

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.

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.

After taking this course, you will be able to:

  • Explore Akka's version of the actor model
  • Build applications using Akka’s basic tools
  • Change actor behavior on runtime using Become/Unbecome and FSM
  • Create your first cluster and discover how it can be used to build a fault-tolerant system
  • Find out how actors solve concurrency problems
  • Master different techniques to route messages to the actors in Akka
  • Build stateful actors with Akka Persistence
  • Use various techniques for testing an actor

This course is for professionals within the following business functions:

  • For Scala developers who are interested in building concurrent, scalable, and fault-tolerant applications with Akka, this course delivers the knowledge needed to do just that.

      1. Exploring the Actor World - 14 Minutes

        1. The Course Overview
        2. Understanding the Actor Model
        3. Concepts and Terminology
        4. Let's Create Hello World
      2. Playing with Actors - 24 Minutes

        1. Actor System and Hierarchical Structure
        2. Actor Components and Lifecycle
        3. Creating an Actor with Props
        4. Talking to an Actor
        5. Supervision and Monitoring
      3. Working with Akka Basic Tools - 21 Minutes

        1. ActorRef Versus Actor Path Versus Actor Selection
        2. Sending Messages via Router
        3. Replacing Actor Behavior via become/unbecome
        4. Replacing Actor Behavior via FSM
      4. Akka Persistence - 24 Minutes

        1. Introduction to Akka Persistence
        2. Creating Persistent Actors
        3. Playing with a Persistent Actor
        4. Persistence FSM
        5. Persistence Query
      5. Working with Akka Cluster - 27 Minutes

        1. Playing with Remote Actors
        2. Building a Cluster
        3. Adding Load Balancer to a Cluster Node
        4. Creating a Singleton Actor in the Cluster
        5. Cluster Sharding
      6. Testing Actors - 20 Minutes

        1. How to Test an Actor?
        2. Testing a Parent-child Relationship
        3. Testing FSM
        4. Multi Node Testing
      7. Working with Akka Streams - 26 Minutes

        1. Introduction to Akka Streams
        2. Reactive Tweets
        3. Testing Streams
        4. Working with Graphs
        5. Working with Stream IO
      8. Working with Akka HTTP - 24 Minutes

        1. Introduction to Akka HTTP
        2. Working with Client-side API
        3. Working with Server-side API
        4. Let's Implement a REST API
        5. Let's Test Our REST API
      9. Working with Common Patterns in Akka - 20 Minutes

        1. Balancing Workload Across Nodes
        2. Throttling Messages
        3. Shutdown Patterns
        4. Ordered Termination
        5. Scheduling Periodic Messages

      About the Expert



      Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work. With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now. From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer. Packt courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.
      Read more