Akka Typed: How the Pipe Pattern Saves Us from Anti-Patterns | Rock the JVM

Описание к видео Akka Typed: How the Pipe Pattern Saves Us from Anti-Patterns | Rock the JVM

Written version: https://blog.rockthejvm.com/stateful-...
Akka Typed course: https://rockthejvm.com/p/akka-essentials

This video is for people who are familiar with the Akka actor model and starting with Akka Typed. We demonstrate the use-case of an Akka actor interacting with an external service, which can break actor encapsulation. We then show how we can use the pipe pattern to forward the results of the async computation back to the actor as a message, and how (as an extra benefit) the pipe pattern allows us to make the actor stateless.

Table of contents:
0:00 intro and project setup
2:20 the scenario
5:49 a quick actor, and why it's naive
13:35 the pipe pattern
22:40 making the actor "stateless"

Follow Rock the JVM on:
LinkedIn:   / rockthejvm  
Twitter:   / rockthejvm  
Blog: https://blog.rockthejvm.com

-------------------------------------------------------------------------
Home: https://rockthejvm.com
-------------------------------------------------------------------------

Комментарии

Информация по комментариям в разработке