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
Yuki Morishita
Search
CassandraCommunityJP
May 13, 2015
Technology
0
140
Yuki Morishita
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
200
Cassandra on Kubernets- K8ssandra
cassandracommunityjp
0
540
Transaction Management on Cassandra
cassandracommunityjp
0
300
運用中システムにおける6億レコードのデータ移行に関する課題と解決
cassandracommunityjp
0
300
Cassandraの活用とその事例
cassandracommunityjp
0
450
Microsoft Azureを基盤としたライフサイエンス業界事例でのCassandra / DataStax Enterpriseの活用
cassandracommunityjp
0
200
Microsoft Azure で実現する Cassandra とその活用事例
cassandracommunityjp
0
320
Troubleshooting Apache Cassandra
cassandracommunityjp
0
310
Cassandra Summit Tokyo 2017 Keynote
cassandracommunityjp
0
380
Other Decks in Technology
See All in Technology
強いチームと開発生産性
onk
PRO
35
11k
[CV勉強会@関東 ECCV2024 読み会] オンラインマッピング x トラッキング MapTracker: Tracking with Strided Memory Fusion for Consistent Vector HD Mapping (Chen+, ECCV24)
abemii
0
220
Terraform Stacks入門 #HashiTalks
msato
0
360
複雑なState管理からの脱却
sansantech
PRO
1
150
Lambda10周年!Lambdaは何をもたらしたか
smt7174
2
110
【令和最新版】AWS Direct Connectと愉快なGWたちのおさらい
minorun365
PRO
5
760
Amazon CloudWatch Network Monitor のススメ
yuki_ink
1
210
OCI Vault 概要
oracle4engineer
PRO
0
9.7k
Flutterによる 効率的なAndroid・iOS・Webアプリケーション開発の事例
recruitengineers
PRO
0
110
生成AIが変えるデータ分析の全体像
ishikawa_satoru
0
170
AGIについてChatGPTに聞いてみた
blueb
0
130
IBC 2024 動画技術関連レポート / IBC 2024 Report
cyberagentdevelopers
PRO
1
110
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
65
11k
Become a Pro
speakerdeck
PRO
25
5k
How to Ace a Technical Interview
jacobian
276
23k
Typedesign – Prime Four
hannesfritz
40
2.4k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
Git: the NoSQL Database
bkeepers
PRO
427
64k
A Philosophy of Restraint
colly
203
16k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
The Cost Of JavaScript in 2023
addyosmani
45
6.8k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Transcript
Apache Cassandra ϓϩδΣΫτʹ ඈͼࠐ͏ Cassandra Summit Tokyo 2015
Լ ༤و Apache Cassandraίϛολʔɻ DataStaxͰಇ͘ιϑτΣΞσϕϩούʔɻ ςΩαεभΦʔεςΟϯʹͯɺຖ΄΅100% Cassandra ͷίʔυΛॻ͘ࣄΛ͍ͯ͠·͢ɻ twitter: @yukim
github: https://github.com/yukim freenode: yukim
Apache Cassandra ίϛϡχςΟʔʹࢀՃͯ͠ ϓϩδΣΫτʹߩݙ͠·ͤΜ͔?
ϓϩδΣΫτʹߩݙ͢Δ != ίʔυΛॻ͘
ίʔυҎ֎Ͱͷߩݙ ίʔυΛॻ͘͜ͱҎ֎ʹϓϩδΣΫτʹߩݙ Ͱ͖·͢ • όάϨϙʔτ/վળཁ • ϔϧϓ • ࣄྫհ
None
None
ίʔυΛॻ͘ͷ͕͖ͳਓ • όάͷमਖ਼ • ৽ػೳͷՃ • पลπʔϧͷ։ൃ
ߩݙͯ͠Կ͕خ͍͠ͷ? ϓϩδΣΫτશମͱͯ͠... • όάͷݮগ • ৽ػೳ • ϊϋͷੵ • ...
ߩݙͯ͠Կ͕خ͍͠ͷ? ݸਓͱͯ͠ • τϥϒϧγϡʔτʹڧ͘ͳΔ o ίϛϡχςΟͷ׆༻ o ιʔείʔυͷཧղ • ੈք༗ͷαʔϏεΛؒతʹࢧ͍͑ͯΔ
o AppleɺNetflixɺPlaystation Network
ߩݙͯ͠Կ͕خ͍͠ͷ? • ͓څྉ? http://stackoverflow.com/research/developer-‐survey-‐2015
ίϛϡχςΟʔʹࢀՃ͢Δ
ίϛϡχέʔγϣϯ • userϝʔϦϯάϦετ o ΞʔΩςΫνϟσʔλϞσϦϯάͷ࣭ o ӡ༻ͷΞυόΠε o Τϥʔใࠂ •
JIRA o όάͷใࠂ o ৽ػೳͷཁ o ։ൃͷத৺ • IRC o ϝʔϦϯάϦετͷϦΞϧλΠϜ൛ o ͕࣌ࠩ
ίϛϡχέʔγϣϯ • ·ͣϝʔϦϯάϦετʹࢀՃͯ͠ΈΑ͏ o user-‐
[email protected]
ʹۭϝʔϧΛૹΔ ͚ͩɻ֬ೝϝʔϧ͕དྷͨΒฦ৴ϘλϯΛԡͯ͠ฦ ৴ɻ • ݄ʹ500௨Ҏ্ͷϝʔϧ
• ΄΅ͯ͢ͷϝʔϧʹฦ৴͋Γ
ͦ͏ݴͬͯӳޠͷน͕... • ׳ΕΔ o ϝʔϦϯάϦετΛோΊଓ͚Δ o ຖͪΐͬͱ͕ͣͭେࣄ • ਅࣅΔ o
ӳޠͰॻ͘ͱ͖ଞͷਓͷਅࣅΛ͢Δ • ؒҧ͑ؾʹ͠ͳ͍ o ੍࣌ɺ3୯ݱΑؒ͘ҧ͑Δ o ಡΜͰΔਓͷωΠςΟϒ͡Όͳ͍ o ωΠςΟϒͩͬͯؒҧ͑Δ
None
ͰͬͺΓຊޠͰ... • ຊCassandraίϛϡχςΟ o https://groups.google.com/forum/#!forum/cassandra-‐jp • ݟͯ·͢! ඞͣฦ৴͢ΔͷͰΑΖ͓͘͠ئ͍
͠·͢!
ͰͬͺΓຊޠͰ... • Qiita o http://qiita.com/tags/cassandra
ͰͬͺΓຊޠͰ... • stackoverflowຊޠ൛ o http://ja.stackoverflow.com/questions/tagged/cassandra
CassandraΛϋοΫ͢Δ
ඞཁͳπʔϧ • Java SDK o 2.1͔Β8ͰίϯύΠϧՄೳ • git • Apache
Ant • (Python 2.x) o ςετπʔϧΛಈ͔͢ͱ͖
։ൃऀ͚ ίϛϡχέʔγϣϯνϟϯωϧ • ϝʔϦϯάϦετ o
[email protected]
§ σΟεΧογϣϯ § ϦϦʔεථ
o
[email protected]
§ JIRA § git ίϛοτ • IRC o #cassandra-dev
ιʔείʔυͷऔಘͱϏϧυ • ApacheͷϨϙδτϦ͔Β $ git clone ɹhttps://git-‐wip-‐ us.apache.org/repos/asf/cassandra.git
• ϏϧυAntΛར༻ $ ant
IDEͷηοτΞοϓ • Eclipse $ ant generate-‐eclipse-‐files • IntelliJ
IDEA $ ant generate-‐idea-‐files
ίʔυΛॻ͘લʹ • CassandraͷΞʔΩςΫνϟΛཧղ͢Δ o جຊతͳߟ͑ํมΘ͍ͬͯͳ͍ § CommitLog, Memtable, SSTable etc.
o ຊޠυΩϡϝϯτ http://docs.datastax.com/ja/cassandra-jajp/2.0/cassandra/architecture/ architectureTOC.html
ίʔυΛॻ͘લʹ • ιʔείʔυΛಡΉ o ΞʔΩςΫνϟͱରԠͤ͞ͳ͕ΒಡΈਐΊΔ § ॻ͖ࠐΈ/ಡΈࠐΈ • StorageProxy.java Λىʹ
§ ΦϖϨʔγϣϯܥ • StorageService.java Λىʹ § ΫϥελϦϯά • o.a.c.locator/o.a.c.dht ύοέʔδ • cassandra-2.0 ϒϥϯν͕͓͢͢Ί o ࠷ۙύϑΥʔϚϯεΞοϓͷͨΊͷςΫχοΫ͕ ຬࡌ
ίʔσΟϯάͱςετ • CassandraίʔσΟϯάن o http://wiki.apache.org/cassandra/CodeStyle • Ϣχοτςετ o
test/unit ҎԼ͕Ϣχοτςετιʔείʔυ o Ant Λͬͯ֬ೝ $ ant test $ ant test -‐Dtest.name=CompactionsTest
ࢄڥͰͷγεςϜςετ • CassandraࢄγεςϜɻ Ͳ͏ͬͯςετ͢Δ? o ccm (Cassandra Cluster Manager) o
cassandra-dtest
ccm https://github.com/pcmanus/ccm • CassandraΫϥελΛίϚϯυϥΠϯͱ Python͔Βૢ࡞͢Δ $ ccm create -‐n
3 test_cluster $ ccm node1 stress $ ccm node2 stop
cassandra-dtest https://github.com/riptano/cassandra-‐dtest • ccmΛ༻͍ͨcassandraΫϥελςετεΠ ʔτ • ࣮ߦʹ `nose`ςετπʔϧ͕ඞཁ $
pip install nose $ nosetests repair_test.py
“Low-Hanging Fruit” • қΊͷJIRAνέοτɻ • ·ͣ LHF ͔Β͡ΊͯݟΑ͏ɻ https://issues.apache.org/jira/browse/CASSANDRA-‐8817?jql=project %20%3D%20CASSANDRA%20AND%20labels%20%3D%20%22lhf%22%20AND
%20resolution%20%3D%20Unresolved
·ͱΊ • ίʔυΛॻ͔ͳͯ͘Apache Cassandraϓ ϩδΣΫτʹߩݙͰ͖·͢ o ӳޠ͕μϝͳΒຊޠͰ! • ॻ͚ΔਓͥͻνϟϨϯδͯ͠Έͯͩ͘͞ ͍ɻ
o “LHF” ͋ΔΑ! ͓ख͍͠·͢ɻ
[email protected]