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
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
110
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
Transcript
14 slides
©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
ऴΘΓ·͢
More Decks by CassandraCommunityJP
See All by CassandraCommunityJP
Azure Managed Instance for Apache Cassandra
cassandracommunityjp
0
270
Cassandra on Kubernets- K8ssandra
cassandracommunityjp
0
670
Transaction Management on Cassandra
cassandracommunityjp
0
380
運用中システムにおける6億レコードのデータ移行に関する課題と解決
cassandracommunityjp
0
430
Cassandraの活用とその事例
cassandracommunityjp
0
570
Microsoft Azureを基盤としたライフサイエンス業界事例でのCassandra / DataStax Enterpriseの活用
cassandracommunityjp
0
260
Microsoft Azure で実現する Cassandra とその活用事例
cassandracommunityjp
0
440
Troubleshooting Apache Cassandra
cassandracommunityjp
0
380
Cassandra Summit Tokyo 2017 Keynote
cassandracommunityjp
0
470
Other Decks in Technology
See All in Technology
Fukurou Labo_Engineer_Deck
fukuroulabo
0
110
正しくWeb サイトを守るためのコンテンツセキュリティーポリシー
hinalin
0
440
Go でトランザクション、どう書いてますか?
knwoop
2
640
想定外の利用がプロダクトの価値を広げる
lycorptech_jp
PRO
0
110
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
230
お風呂場をサーバルームにしよう
yusuke427
0
400
サーバーラックは作る時代! 3Dプリンターで作る10インチラックのススメ
jacopen
2
520
Test Impact Analysis を武器に立ち向かう、AI 時代のテスト増加に対するヌーラボのアプローチ / getting-started-datadog-test-impact-analysis
k6s4i53rx
3
890
コーディングできない僕にBobが舞い降りた
shumpei3
0
220
Taking back control of your AI development
inesmontani
PRO
0
320
Well, that’s weird…
csswizardry
3
240
新規事業開発でのAWS活用成功談&失敗談! 〜新規事業開発を専門に行うRelicならではのAWS活用〜
amixedcolor
1
160
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Leo the Paperboy
mayatellez
11
2.5k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.3k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
680
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
650
Practical Orchestrator
shlominoach
192
12k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
1
250
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
550
How STYLIGHT went responsive
nonsquared
100
6.4k