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
84
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
230
Cassandra on Kubernets- K8ssandra
cassandracommunityjp
0
610
Transaction Management on Cassandra
cassandracommunityjp
0
340
運用中システムにおける6億レコードのデータ移行に関する課題と解決
cassandracommunityjp
0
350
Cassandraの活用とその事例
cassandracommunityjp
0
530
Microsoft Azureを基盤としたライフサイエンス業界事例でのCassandra / DataStax Enterpriseの活用
cassandracommunityjp
0
220
Microsoft Azure で実現する Cassandra とその活用事例
cassandracommunityjp
0
380
Troubleshooting Apache Cassandra
cassandracommunityjp
0
350
Cassandra Summit Tokyo 2017 Keynote
cassandracommunityjp
0
450
Other Decks in Technology
See All in Technology
SoccerNet GSRの紹介と技術応用:選手視点映像を提供するサッカー作戦盤ツール
mixi_engineers
PRO
1
190
Modern_Data_Stack最新動向クイズ_買収_AI_激動の2025年_.pdf
sagara
0
230
そのWAFのブロック、どう活かす? サービスを守るための実践的多層防御と思考法 / WAF blocks defense decision
kaminashi
0
110
リーダーになったら未来を語れるようになろう/Speak the Future
sanogemaru
0
340
extension 現場で使えるXcodeショートカット一覧
ktombow
0
220
英語は話せません!それでも海外チームと信頼関係を作るため、対話を重ねた2ヶ月間のまなび
niioka_97
0
130
GopherCon Tour 概略
logica0419
2
200
M5製品で作るポン置きセルラー対応カメラ
sayacom
0
170
Azure Well-Architected Framework入門
tomokusaba
1
340
綺麗なデータマートをつくろう_データ整備を前向きに考える会 / Let's create clean data mart
brainpadpr
2
310
Where will it converge?
ibknadedeji
0
200
関係性が駆動するアジャイル──GPTに人格を与えたら、対話を通してふりかえりを習慣化できた話
mhlyc
0
130
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.7k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
114
20k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
The Power of CSS Pseudo Elements
geoffreycrofte
79
6k
Fireside Chat
paigeccino
40
3.7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
Making the Leap to Tech Lead
cromwellryan
135
9.6k
A Tale of Four Properties
chriscoyier
160
23k
Raft: Consensus for Rubyists
vanstee
139
7.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
ऴΘΓ·͢