Reactive and asynchronous applications are growing in popularity, but what is the best way to build them? This course teaches you how to apply the latest concurrency techniques to develop state of the art Java applications. With the rise of microservices and service oriented architectures (SOAs), asynchronous concurrency is now critical to day-to-day Java development. This video builds on the theory offered in the associated "Asynchronous Programming in Java" course by refactoring several Java projects using Actors in Akka. From there, it explains the concepts behind the actor model, how the Akka toolkit compares with other concurrency concepts, and how to use the Akka API.
- Understand how to program event-driven reactive code using Actors and Akka
- Learn to implement readable and maintainable reactive code using Actors and Akka
- Gain experience building reliable and performant Java apps in a microservices/SOA model
Raoul-Gabriel Urma is CEO of Cambridge Spark, a learning community for data scientists and developers in the UK. Co-author of Java 8 in Action (Manning Publications), Raoul has delivered over 100 technical talks at international conferences. He's worked for Google, eBay, Oracle, and Goldman Sachs, and holds a PhD in Computer Science from the University of Cambridge.
Richard Warburton is a software engineer, teacher, and Java Champion. He’s worked as a developer in such diverse areas as low latency trading systems, statistical analytics, static analysis, compilers, and network protocols. Author of Java 8 Lambdas (O'Reilly Media), Richard holds a PhD in Computer Science from The University of Warwick.
Table of Contents
- Why Actors? 00:03:39
- Introducing the Actor Model 00:04:11
- Implementing a Simple Actor System 00:03:36
- Choices of Mailboxes 00:04:12
- Akka Basics 00:06:24
- Using Akka 00:02:44
- Counter Actor Exercise Part 1 00:02:42
- Ask Pattern 00:02:15
- Counter Actor Exercise Part 2 00:03:14
- Delivery Guarantees 00:05:12
- Testing Actors 00:05:35
- Integration Exercise 00:09:52
- Dealing with Failures 00:02:59
- Supervision Hiearchy Model 00:03:15
- Recovering from Failures 00:07:36
- Integration Patterns: Recipient List 00:02:47
- Integration Patterns: Pipes and Filters 00:02:30
- Summary 00:01:48
- Title: Programming Actors with Akka
- Release date: September 2017
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491990247