
Explore basic concurrent programming in core Java by building a prime generator using runnable tasks, 20 threads, and a shared results set, and compare with the Akka actor model.
Understand what an actor is in the Akka model: an identifiable object with a name and path, a message queue, and a behaviour that processes messages one at a time.
This course will cover how to use the Actor Model provided by the Akka framework to build robust, thread-safe concurrent applications with Java.
We'll be leaving behind the traditional problems with multi-threaded programming, such as dealing with non-thread safe variables, deadlocks, thread interruptions and more. Akka gives us a completely different approach. Instead of creating threads, using synchronization, locks, semaphores and countdownlatches, we'll learn how the actor model gives us a very different way to approach concurrent programming.
Learning the actor model from scratch can be a challenge, so in this course we build up the knowlege step by step, meaning you'll have no problems following along and understanding everything we do. And the course is full of practical real-world scenarios, so that you'll be able to take what you learn and apply it to your own projects. Our main case study is that we'll be building a basic blockchain mining application.
Please note that although Akka is built in Scala, absolutely no Scala knowledge is needed for this course. This course covers Akka with Java and we won't be writing any Scala code. It's ideal for Java developers with some experience (although you certainly don't need to be an expert).
This course covers the newer Akka Typed API only.