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
1
80
TDC Globo Sistemas Distribuídos
Breno Ferreira
August 24, 2021
Tweet
Share
More Decks by Breno Ferreira
See All by Breno Ferreira
Trabalho Remoto TDC Globo 2020
brenoferreira
1
99
Immutable Da
brenoferreira
0
79
Remote Work
brenoferreira
0
83
Fun with Types
brenoferreira
0
220
Monads na prática - QConSP 2014
brenoferreira
0
120
RxJava
brenoferreira
1
380
.NET Além do Mundo Microsoft
brenoferreira
0
77
TDC2013 - Programação assíncrona com Javascript
brenoferreira
1
550
TDD com Javascript
brenoferreira
1
500
Other Decks in Technology
See All in Technology
Oracle Cloud Infrastructure:2025年12月度サービス・アップデート
oracle4engineer
PRO
0
140
ルネサンス開発者を育てる 1on1支援AIエージェント
yusukeshimizu
0
130
Strands Agents × インタリーブ思考 で変わるAIエージェント設計 / Strands Agents x Interleaved Thinking AI Agents
takanorig
6
2.5k
Strands AgentsのEvaluatorをLangfuseにぶち込んでみた
andoooooo_bb
0
110
[2025-12-12]あの日僕が見た胡蝶の夢 〜人の夢は終わらねェ AIによるパフォーマンスチューニングのすゝめ〜
tosite
0
230
Oracle Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
3
240
2025年の医用画像AI/AI×medical_imaging_in_2025_generated_by_AI
tdys13
0
260
Entity Framework Core におけるIN句クエリ最適化について
htkym
0
140
「駆動」って言葉、なんかカッコイイ_Mitz
comucal
PRO
0
130
2025年のデザインシステムとAI 活用を振り返る
leveragestech
0
610
松尾研LLM講座2025 応用編Day3「軽量化」 講義資料
aratako
14
4.8k
Autonomous Database - Dedicated 技術詳細 / adb-d_technical_detail_jp
oracle4engineer
PRO
5
12k
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1371
200k
ラッコキーワード サービス紹介資料
rakko
0
1.9M
How to Talk to Developers About Accessibility
jct
1
92
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
410
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
HDC tutorial
michielstock
1
280
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
260
エンジニアに許された特別な時間の終わり
watany
106
220k
Exploring anti-patterns in Rails
aemeredith
2
220
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
680
Applied NLP in the Age of Generative AI
inesmontani
PRO
3
2k
Heart Work Chapter 1 - Part 1
lfama
PRO
3
35k
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/