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
Vitess: Banco de Dados Distribuído Nativo para K8s
Search
William Lino Oliveira
January 18, 2022
Technology
0
14
Vitess: Banco de Dados Distribuído Nativo para K8s
Palestra entregue no envento KCD Brasil 2022.
William Lino Oliveira
January 18, 2022
Tweet
Share
More Decks by William Lino Oliveira
See All by William Lino Oliveira
Global Azure 2022 - Desenvolvimento e Administração em SQL Server com Python
williamloliveira
0
8
TDC Connections Trilha Cloud: Distribuição e Escalabilidade de Bancos de Dados em Cloud
williamloliveira
0
50
AWS Community Day Brasil 2021 - Distribuindo Dados Globalmente com Aurora, DynamoDB e EslatiCache.
williamloliveira
0
36
HashiTalks: Brasil 2021 - Contruindo Ambientes Seguros de Bancos de Dados com Terraform e Vault
williamloliveira
0
36
Other Decks in Technology
See All in Technology
AWS CLIの起動が重くてつらいので aws-sdk-client-go を書いた / kamakura.go#6
fujiwara3
6
3.5k
Google Cloud Next '24 Recap in ZOZO AIに対応したBigQueryと今後のデータ分析について / AI-enabled BigQuery and future data analysis
shunsuke1014
0
190
AWSの生成AI入門書を執筆しました🎉
minorun365
PRO
0
160
LINEヤフーのウェブアクセシビリティ
lycorptech_jp
PRO
3
220
Deno で作る快適な “as Code” プラットフォーム – TSKaigi 2024
pizzacat83
4
330
ITエンジニアを取り巻く環境とキャリアパス / A career path for Japanese IT engineers
takatama
3
1.2k
20240516 OpenID TechNight Vol.21 OpenIDファウンデーション・ジャパンの 今後の活動について
oidfj
0
190
PHP 9 に備えよ - 動的プロパティ、どうすればいぃ?
taisukearase
0
410
.NET GraphQL Client のリアル
sansantech
PRO
1
550
Real World Type Puzzle and Code Generation
yukukotani
4
650
[PyconUS 2024] Having fun with Pydantic and pattern matching
enforcerpl
0
210
Google Cloud Next '24 Recap in ZOZO Datastreamを使用したリアルタイムデータストリーミングの紹介 / realtime datastreaming with Datastream
takahitosakuma
0
180
Featured
See All Featured
Optimizing for Happiness
mojombo
371
69k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
67
14k
Music & Morning Musume
bryan
42
5.6k
Faster Mobile Websites
deanohume
300
30k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
A better future with KSS
kneath
231
16k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
Building Applications with DynamoDB
mza
88
5.7k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
22
1.4k
Unsuck your backbone
ammeep
664
57k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
242
1.2M
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
126
32k
Transcript
: Banco de Dados Distribuído Nativo para K8s
SPEAKER WILLIAM LINO OLIVEIRA DBRE @ C6 Bank Principal CSA
@ Flapper e Data Tuning @willonil Ln: williamlinooliveira Blogs: codedataops.com e datatuning.com\blog 2
Vitess Overview e Arquitetura Demo Vitess on K8s Casos de
Uso Sharding 3
Vitess MySQL\MariaDB com Escalabilidade Horizontal 1 4
Componentes: Keyspace: Banco de Dados Lógico (Instancia MySQL\mysqld – Sharded)
◦ Keyspace ID ◦ Primary Vindex ◦ Vindex ◦ Chave Composta e afins VTTablet– Backend, controla o mysqld; VTGate – Proxy de comunicação; 5
Componentes: Topology: Armazena o estado\configs do ambiente: schemas, shards, tablets,
etc. Storage Default é o etcd2 mas pode variar. Vtctld: Ad hoc ops, API Server, Opera nos tablets, Locks; Control Plane: Proxy, Backup\Restore (xtrabackup), Failover Automático, Sharding, etc. 6
7
Casos de Uso 2 8
Casos de Uso: Escalabilidade horizontal de uma aplicação; Minimizar cenários
de Backup\Restore; Sharding de dados, distribuição especializada regional ou global; Pode ser executado local ou em Kubernetes. 9
Demo 3 10
https://vitess.io/ The Vitess Docs | Vitess Operator for Kubernetes The
Vitess Docs | Sharding Guidelines Referências 11
Muito Obrigado! Perguntas? @willonil
[email protected]
codedataops.com datatuning.com,br/blog Speakerdeck.com/williamloliveira 12