Introduction to Akka Actors with Java 8

preview_player
Показать описание
One of the really good abstractions Akka brings to the table is Actors, which allows you to write concurrent code but without much of the pain doing so compared to writing your code using threads and locks.

In this webinar we take a look at the basics of writing actors with Akka in Java 8, what actors and the core concepts around them are, how you write one, what to do and what not to do when using Akka.

0:30 - About the author
1:23 - History background
5:17 - About Akka
7:03 - Where Actors come from
8:18 - What an Actor is
9:50 - Configuring the Actors library
10:55 - Example #1 (Counter)
21:58 - Example #2 (Alarm)
32:34 - Actor hierarchy
33:40 - Failure handling
35:25 - Actor lifecylce
39:40 - Example #3 (NotTrustWorthyChild and Supervisor)
52:29 - About dispatcher
53:55 - About blocking
55:18 - Example #4 (SynchronousDatabaseConnection)
57:45 - Dos and don'ts
01:01:03 - What more is there
01:02:20 - Getting started docs
01:03:33 - Questions
Рекомендации по теме
Комментарии
Автор

Interesting, great job. Can a session like this be created for Akka Persistence or is there one existing already?

Whizyrel
Автор

Thanks.

Does the fact that messages can be received out of order make the system undeterministic? any implications?



Messages should be immutable, does that place any constraint on the use-cases? can the actor model express any concurrent or distributed application use case?

mazenezzeddine
Автор

Bad code style. Akka is very exotic framework. Learn it, just lost your time.

goranmichlovich