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
CassandraCommunityJP
May 13, 2015
Technology
0
75
Al Tobey
Cassandra Summit Tokyo 2015
CassandraCommunityJP
May 13, 2015
Tweet
Share
More Decks by CassandraCommunityJP
See All by CassandraCommunityJP
Azure Managed Instance for Apache Cassandra
cassandracommunityjp
0
210
Cassandra on Kubernets- K8ssandra
cassandracommunityjp
0
560
Transaction Management on Cassandra
cassandracommunityjp
0
310
運用中システムにおける6億レコードのデータ移行に関する課題と解決
cassandracommunityjp
0
320
Cassandraの活用とその事例
cassandracommunityjp
0
480
Microsoft Azureを基盤としたライフサイエンス業界事例でのCassandra / DataStax Enterpriseの活用
cassandracommunityjp
0
210
Microsoft Azure で実現する Cassandra とその活用事例
cassandracommunityjp
0
350
Troubleshooting Apache Cassandra
cassandracommunityjp
0
330
Cassandra Summit Tokyo 2017 Keynote
cassandracommunityjp
0
410
Other Decks in Technology
See All in Technology
SA Night #2 FinatextのSA思想/SA Night #2 Finatext session
satoshiimai
1
140
PL900試験から学ぶ Power Platform 基礎知識講座
kumikeyy
0
130
インフラをつくるとはどういうことなのか、 あるいはPlatform Engineeringについて
nwiizo
5
2.5k
OpenID BizDay#17 KYC WG活動報告(法人) / 20250219-BizDay17-KYC-legalidentity
oidfj
0
240
ビジネスモデリング道場 目的と背景
masuda220
PRO
9
490
Datadog APM におけるトレース収集の流れ及び Retention Filters のはなし / datadog-apm-trace-retention-filters
k6s4i53rx
0
330
トラシューアニマルになろう ~開発者だからこそできる、安定したサービス作りの秘訣~
jacopen
2
2k
明日からできる!技術的負債の返済を加速するための実践ガイド~『ホットペッパービューティー』の事例をもとに~
recruitengineers
PRO
3
380
利用終了したドメイン名の最強終活〜観測環境を育てて、分析・供養している件〜 / The Ultimate End-of-Life Preparation for Discontinued Domain Names
nttcom
2
180
10分で紹介するAmazon Bedrock利用時のセキュリティ対策 / 10-minutes introduction to security measures when using Amazon Bedrock
hideakiaoyagi
0
180
クラウドサービス事業者におけるOSS
tagomoris
0
210
エンジニアの育成を支える爆速フィードバック文化
sansantech
PRO
3
1k
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
34
3.1k
Fireside Chat
paigeccino
34
3.2k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.2k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
46
2.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Code Reviewing Like a Champion
maltzj
521
39k
Building Applications with DynamoDB
mza
93
6.2k
Become a Pro
speakerdeck
PRO
26
5.1k
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
ऴΘΓ·͢