Город МОСКОВСКИЙ
01:02:04

Using the Actor Pattern in Elixir - Nicolas Savois

Аватар
Примеры кода на JavaScript
Просмотры:
112
Дата загрузки:
04.01.2024 12:53
Длительность:
01:02:04
Категория:
Технологии и интернет

Описание

Using the Actor Pattern in Elixir - Nicolas Savois

Erlang OTP is the foundations of all the awesome properties of Elixir and Erlang, the Actor Pattern is at the core of OTP. Let's take a look at how everything is working with Elixir From spawning simple process to creating a complete supervisor tree we will see how Elixir leverages OTP The plan of the talk :
- What's Elixir
- What's the actor pattern
- Schema
- Processes
- Simple Process Spawning
- Message passing to process
- sending and receiving messages
- Process to store state in Elixir
- More robust Structures : Agents
- More robust Structures : Tasks
- Saving State with Tasks
- GenServer : Core of concurrency
- Supervision : - Supervision
- Schema - Supervision Strategies
- Child Specification
- Dynamic Supervisors
- Task Supervisor
- Distribution :
- Communication Between Nodes
- Distributing Tasks
- A note on security
- Other Tools worth mentionning :
- ETS : Erlang built-in term storage
- GenStage - Mnesia

[Slides for the talk are here - still in construction](https://docs.google.com/presentation/d/1qpo5QlwyMSytxQLKwoN7ZtgixYWv6jNS_UcBvDfCAdo/edit?usp=sharing)
I Love live coding so most of the examples will be done live and question will be answered with live code if needs be.

Рекомендуемые видео