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
Al Tobey
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
CassandraCommunityJP
May 13, 2015
Technology
93
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Al Tobey
Cassandra Summit Tokyo 2015
CassandraCommunityJP
May 13, 2015
More Decks by CassandraCommunityJP
See All by CassandraCommunityJP
Azure Managed Instance for Apache Cassandra
cassandracommunityjp
0
250
Cassandra on Kubernets- K8ssandra
cassandracommunityjp
0
640
Transaction Management on Cassandra
cassandracommunityjp
0
370
運用中システムにおける6億レコードのデータ移行に関する課題と解決
cassandracommunityjp
0
390
Cassandraの活用とその事例
cassandracommunityjp
0
550
Microsoft Azureを基盤としたライフサイエンス業界事例でのCassandra / DataStax Enterpriseの活用
cassandracommunityjp
0
240
Microsoft Azure で実現する Cassandra とその活用事例
cassandracommunityjp
0
410
Troubleshooting Apache Cassandra
cassandracommunityjp
0
370
Cassandra Summit Tokyo 2017 Keynote
cassandracommunityjp
0
460
Other Decks in Technology
See All in Technology
Empower GenAI with Agile - あなたのアジャイルが生成AIのバフになる仕組み
hageyahhoo
1
150
アカウントが増えてからでは遅い? ~ マルチアカウント統制の勘所 ~
kenichinakamura
0
210
Mastraエージェント、どのクラウドにデプロイする?
minorun365
PRO
2
180
End-to-Endで考える信頼性 —LINEアプリにおけるクライアント開発×SRE連携の実践
maruloop
4
3.5k
AI駆動開発におけるQAエンジニアの役割事例 〜AI駆動開発の現場から〜
kobayashiyorimitsu
0
420
地域 SRE コミュニティ最前線 / SRE NEXT 2026 Discussion Night Track C
muziyoshiz
0
180
cccccc
moznion
0
1.8k
CIで使うClaude
iwatatomoya
0
190
SRE歴2ヶ月でも開発6年の知見を活かして、チームで止まっていた環境改善を前に進めた話
a_ono
1
220
Kotlin 開発のツラミを爆破した話! / Explode the difficulty of Kotlin dev!
eller86
0
160
認証認可だけじゃない! ID管理の構成要素と ライフサイクルを意識しよう
ritou
1
530
初めてのDatabricks勉強会
taka_aki
2
250
Featured
See All Featured
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.1k
Automating Front-end Workflow
addyosmani
1370
210k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.4k
Statistics for Hackers
jakevdp
799
230k
BBQ
matthewcrist
89
10k
We Are The Robots
honzajavorek
0
270
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
エンジニアに許された特別な時間の終わり
watany
107
250k
Bash Introduction
62gerente
615
220k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
170
Why Our Code Smells
bkeepers
PRO
340
58k
New Earth Scene 8
popppiees
3
2.4k
Transcript
©2014 DataStax @AlTobey Open Source Evangelist / Partner Architect Datastax,
Inc. DockerͱCassandra 1
©2015 DataStax Docker 2
DockerԿͰ͔͢ • An API on top of Linux containers •
namespaces • cgroups • capabilities • networking • A community • huge open source community • many companies building on it • An escape • Linux distribution packaging doesn’t solve the same problems • portable across distros and clouds
DockerԿͰΘ͋Γ·ͤΜ͔ CPU 0 CPU 1 CPU 2 CPU 3 CPU
4 CPU 5 CPU 6 CPU 7 CPU 8 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 Hypervisor IOMMU vCPU 0 vCPU 1 vCPU 2 vCPU 3 BQQMJDBUJPO LFSOFM vCPU 0 vCPU 1 vCPU 2 vCPU 3 BQQMJDBUJPO LFSOFM vCPU 0 vCPU 1 vCPU 2 vCPU 3 BQQMJDBUJPO LFSOFM vCPU 0 vCPU 1 vCPU 2 vCPU 3 BQQMJDBUJPO LFSOFM
DockerͰ͢ CPU 0 CPU 1 CPU 2 CPU 3 CPU
4 CPU 5 CPU 6 CPU 7 CPU 8 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 0x00b0 Linux ༰ث൪ ༰ث̍൪ ༰ث̎൪ ༰ث̏൪
Before Containers Workstation git Workstation git Workstation git Continuous Integration
e.g. Jenkins shared git master Production OS image Integration Environments updates build artifacts ????
After Workstation ϨϙδτϦͷ%PDLFS ։ൃऀͷϫʔΫεςʔγϣϯ boot2docker HJUQVTI Jenkins Production Integration Environments
04ͷΠϝʔδ मਖ਼ϓϩάϥϜ build artifacts
Scale out
Microservices
CassandraDockerͰೖΓ·͢ • Volumes (--volume=/mnt:/data) • host networking (--net=host) • docker
run -d --net=host --volume=/mnt:/data tobert/cassandra:2.1.3 • -seed • -heap / -new • -name https://github.com/tobert/cassandra-docker https://registry.hub.docker.com/u/tobert/cassandra/
Filesystems Linux 0x00b0 0x00b0 unionfs ΞϓϦέʔγϣϯ ΞϓϦέʔγϣϯ btrfs ΞϓϦέʔγϣϯ ΞϓϦέʔγϣϯ
btrfs volume
VM Networking 0x00b0 0x00b0 Hypervisor IOMMU vCPU 0 vCPU 1
vCPU 2 vCPU 3 BQQMJDBUJPO LFSOFM vCPU 0 vCPU 1 vCPU 2 vCPU 3 BQQMJDBUJPO LFSOFM 0x00b0 0x00b0 bridge
0x00b0 0x00b0 Linux 0x00b0 0x00b0 bridge veth.pair ΞϓϦέʔγϣϯ iptables ΞϓϦέʔγϣϯ
Container Networking
ऴΘΓ·͢