Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
260
Monads na prática - QConSP 2014
brenoferreira
0
140
RxJava
brenoferreira
1
430
.NET Além do Mundo Microsoft
brenoferreira
0
120
TDC2013 - Programação assíncrona com Javascript
brenoferreira
1
600
TDD com Javascript
brenoferreira
1
540
Other Decks in Technology
See All in Technology
sue445's proposals 2026
sue445
0
120
Rust で関数型ドメインモデリング
takonda
0
170
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
1.4k
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
2
320
AI駆動で「他アプリの音を加工できる」アプリを作った
satomasahiro2005
0
180
大型犬好きによるPugの紹介
yamanoku
1
160
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
310
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
700
freeeにおけるSoftware Factory
freee
PRO
0
120
React改造してみた
tsukina_7mochi
0
140
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
300
How to Design Configuration for Rails Applications
willnet
1
880
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
55
8.4k
Producing Creativity
orderedlist
PRO
348
41k
Building the Perfect Custom Keyboard
takai
2
910
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
730
Designing for Performance
lara
612
70k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Ruling the World: When Life Gets Gamed
codingconduct
0
410
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
400
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
950
Odyssey Design
rkendrick25
PRO
2
880
Site-Speed That Sticks
csswizardry
13
1.6k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
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/