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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Breno Ferreira
August 24, 2021
Technology
100
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
120
Immutable Da
brenoferreira
0
98
Remote Work
brenoferreira
0
100
Fun with Types
brenoferreira
0
240
Monads na prática - QConSP 2014
brenoferreira
0
130
RxJava
brenoferreira
1
410
.NET Além do Mundo Microsoft
brenoferreira
0
100
TDC2013 - Programação assíncrona com Javascript
brenoferreira
1
580
TDD com Javascript
brenoferreira
1
520
Other Decks in Technology
See All in Technology
週末にループ・エンジニアリングの理解を深めるためのスライド
nagatsu
0
260
AIはどのように 組織のアジリティを変えるのか?
junki
4
1.4k
MUSUBI 田中裕一『AIと共に行う「しごとのリデザイン」- スモールバックオフィス編』AI Ops Lab #4
musubi
0
310
10年間のブログ発信を振り返って見えたWebアプリケーションエンジニアとしての軌跡
stefafafan
0
190
サイバーエージェントにおけるAI推進戦略と変革への取り組み
shotatsuge
0
550
LayerX コーポレートエンジニアリング室におけるサプライチェーンセキュリティへの取り組み / Supply Chain Security at LayerX Corporate Engineering
yuyatakeyama
3
840
【2026年版】 ベクトル検索とEmbedding最前線
mocobeta
24
7.5k
不要なレビューをAIにまかせて AIコーディングの環境改善を加速した
shoota
1
270
起点・思考・出力で分解する 〜PM業務の自動化設計〜
kazu_kichi_67
1
1.1k
SteampipeとExcel Power QueryでAWS構成定義書の作成を自動化する
jhashimoto
0
180
GitHub Copilot 最新アップデート – 「一歩先」の実践活用術
moulongzhang
5
1.7k
AIAU_UMEMOGU_ninomiya_slide
ninomiya_ii
0
260
Featured
See All Featured
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
540
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
55k
Git: the NoSQL Database
bkeepers
PRO
432
67k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
140
Skip the Path - Find Your Career Trail
mkilby
1
150
HDC tutorial
michielstock
2
720
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
950
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
630
Leo the Paperboy
mayatellez
7
1.9k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
66
55k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
400
Optimising Largest Contentful Paint
csswizardry
37
3.7k
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/