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
TDC Globo Sistemas Distribuídos
Search
Breno Ferreira
August 24, 2021
Technology
110
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
TDC Globo Sistemas Distribuídos
Breno Ferreira
August 24, 2021
More Decks by Breno Ferreira
See All by Breno Ferreira
Trabalho Remoto TDC Globo 2020
brenoferreira
1
130
Immutable Da
brenoferreira
0
100
Remote Work
brenoferreira
0
110
Fun with Types
brenoferreira
0
250
Monads na prática - QConSP 2014
brenoferreira
0
140
RxJava
brenoferreira
1
420
.NET Além do Mundo Microsoft
brenoferreira
0
110
TDC2013 - Programação assíncrona com Javascript
brenoferreira
1
590
TDD com Javascript
brenoferreira
1
540
Other Decks in Technology
See All in Technology
【GCC2026】TrueHDRIを用いたルックデブ環境とライティングテクニック
bandainamcostudios
PRO
0
230
Oracle MCP Servers Explained
thatjeffsmith
0
410
Kiro Crew で始める マルチエージェント開発
miu_crescent
PRO
0
160
Invisible to AI? Making TYPO3 Sites Quotable by AI Search Systems
wolfgangwagner
0
240
【書籍出版記念】 10周回って、エージェント開発は RAGがすべてだった。〜RAGの歴史と開発現場で見えた実践知〜
akiratameto
14
5.6k
MulticaとPi Coding Agentで、小規模OSSを30本同時運用した流れ
eiei114
0
140
AIに狂うスタートアップが、あえて「人との協働」に全振りした新卒エンジニア研修 / New Graduate Engineer Training at a Startup Accelerating AI Adoption
ohnoeight
0
180
関東Kaggler会発表資料
takoi
1
280
巨大気象データと戦う ― サロゲートモデル学習を高速化する圧縮技術
gpuunite_official
0
240
도구에서 동료까지: 10년차 AI 스타트업의 AI 적응기
inureyes
PRO
1
330
現場回帰したデータエンジニアが考える AI 時代のキャリア開発 / Career Development in the Age of AI Perspectives from a Hands-on Data Engineer
medley
0
310
トークンマネジメントでAIにとって働きやすい環境を実現する
hikaruegashira
0
140
Featured
See All Featured
Tell your own story through comics
letsgokoyo
1
1k
Test your architecture with Archunit
thirion
2
2.4k
Deep Space Network (abreviated)
tonyrice
0
270
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
270
The agentic SEO stack - context over prompts
schlessera
0
870
Chasing Engaging Ingredients in Design
codingconduct
0
280
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.1k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Code Reviewing Like a Champion
maltzj
528
40k
Transcript
Breno Ferreira Escalabilidade de dados e seus desafios https://www.vempraglobo.com.br/
None
None
1K usuários simultâneos?
10K usuários simultâneos?
100K usuários simultâneos?
1 milhão de usuários simultâneos?
Escalabilidade horizontal na nuvem não é infinita?
None
None
None
Caso de uso Registro de username único
None
https://jepsen.io/consistency https://brenocferreira.medium.com/transa%C3%A7%C3%B5es-em-banco-de- dados-aead0cf8b620
Transações ACID
Consenso distribuído
Consenso distribuído é MUITO difícil
• Timeouts • Retries • Circuit Breakers • Detecção de
operações duplicadas • Idempotencia Detecção de falhas
• Como saber qual evento ocorreu primeiro? • Relógios não
con fi áveis • Servidor A: 24/08/21 17:15:0002 • Servidor B: 24/08/21 17:15:0001 • Servidor C: 24/08/21 17:15:0003 Dependências Temporais e Causalidade
Imagine agora esses problemas em DCs distribuídos geograficamente
Existem soluções
Two-Phase Commit
Paxos/Raft
Google Spanner Cockroach DB (open-source)
None
Apache Kafka
Mas será que preciso disso tudo???
None
MUITO provavelmente NÃO!
Alternativas
Replicação
None
Réplicas de leitura tiram a pressão do nó líder, deixando-o
livre para operações de escritas mais custosas (com transações por ex.)
Particionamento
None
🔥🔥🔥
None
None
None
Consistent hashing
None
https://dzone.com/articles/consistent-hashing
Cache
None
Defina Escalabilidade!
• Usuários simultâneos • Tempo de resposta • Latência •
Requests / segundo
Testar Medir Observar
None
None
None
Por que isso é importante?
None
https://brenocferreira.medium.com/designing-data-intensive-apps-um-resumo-a97e47c29372
None
Perguntas?
Obrigado @breno_ferreira https://www.vempraglobo.com.br/