Город МОСКОВСКИЙ
00:35:52

Protohackers in Elixir: day 6 - Speed Daemon

Аватар
JavaScript Developer
Просмотры:
27
Дата загрузки:
04.01.2024 13:04
Длительность:
00:35:52
Категория:
Технологии и интернет

Описание

This is the seventh video of my "Protohackers" Elixir series. We're solving network challenges from https://protohackers.com.

I’m deploying code using a free account on https://fly.io. The source code is on GitHub: https://github.com/whatyouhide/protohackers_in_elixir

Some resources for this video:

• The description of the Protohackers problem we're working through in this video: https://protohackers.com/problem/6
• Deploying Elixir applications on Fly.io: https://fly.io/docs/elixir/getting-started/legacy
• Documentation for the Erlang gen_tcp module: https://www.erlang.org/doc/man/gen_tcp.html

Other resources:

• My website: https://andrealeopardi.com
• Twitter: https://twitter.com/whatyouhide
• Mastodon: https://mas.to/@whatyouhide
• #Elixir's website: https://elixir-lang.org

Music from Uppbeat (free for Creators!):
https://uppbeat.io/t/prigida/leaf-counter
License code: BROSVTYPHPKBHUSL

Chapters:
00:00 Intro
00:44 Problem description
02:11 Protocol
12:18 Architecture - TCP
13:23 Architecture - Registry
15:58 Architecture - Central dispatcher
21:07 Handling pending tickets
25:51 Connections
30:07 Handling heartbeats
32:07 Integration tests
32:52 Deploying
33:14 Logging metadata
34:06 Conclusion

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