Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
E esse OTP ai?
Search
Bruno Volcov
October 28, 2020
Programming
24
0
Share
E esse OTP ai?
Bruno Volcov
October 28, 2020
More Decks by Bruno Volcov
See All by Bruno Volcov
ESSE TAL DE MOCK AÍ, É TABU MESMO?
volcov
0
33
Elixir, Quem é este pokemon?
volcov
1
190
Other Decks in Programming
See All in Programming
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
240
Old Dog, New Tricks: The Java 25 Reinvention - JNation
bazlur_rahman
0
140
ふつうのFeature Flag実践入門
irof
7
3.5k
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
160
Composerを使ったサプライチェーン攻撃の様子を眺めてみる #phpstudy
o0h
PRO
2
220
今さら聞けないCancellationToken
htkym
0
220
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
1
420
ReactとSvelteのその先、Ripple-TS / Beyond React and Svelte: Ripple-TS
ssssota
3
2k
Copilot CLI の継戦能力を高める コンテキスト管理
nozomutu
1
1.2k
Technical Debt: Understanding it Rightly, Engaging it Rightly #LaravelLiveJP
shogogg
0
190
The Arts and Crafts of Work in the AI Era — Toward Mastery in Software Development
kuranuki
1
710
AIとASP.NET Coreで雑Webアプリを作った話
mayuki
0
160
Featured
See All Featured
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1.1k
BBQ
matthewcrist
89
10k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
460
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
370
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
160
Building the Perfect Custom Keyboard
takai
2
780
A Tale of Four Properties
chriscoyier
163
24k
Testing 201, or: Great Expectations
jmmastey
46
8.2k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.8k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
160
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
190
Transcript
E esse OTP ai? Nunca vi nem comi, eu só
ouço falar
Concorrência Open Telecom Platform • Benefícios no dia a dia
• Agrega valor ao software
Designing for Scalability with Erlang/OTP • Erlang • Conjunto de
bibliotecas disponíveis com a virtual machine (BEAM) • Conjunto de princípios de design dos sistemas
Processos
Virtuais da BEAM Sistema Operacional • + leves • +
baratos • Rodam em todos os cores • Isolados • Se comunicam por mensagens
Funcional • Imutabilidade • Não precisamos nos preocupar em controlar
o estado • Mutex e Threads não são necessários
Troca de Mensagens
• Mailbox • Assincrono • Armazena até o tratamento
Supervisor
• Monitoram outros processos • Árvore de supervisão • Tolerante
a falhas • Finalizo / inicio novamente
Scheduler
“Processos são a base para o modelo de concorrência que
usamos em Elixir” • Spawn • Send • Receive • Task • GenServer • Agent
NEXT |> Obrigado