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
150
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
220
Cassandra on Kubernets- K8ssandra
cassandracommunityjp
0
590
Transaction Management on Cassandra
cassandracommunityjp
0
340
運用中システムにおける6億レコードのデータ移行に関する課題と解決
cassandracommunityjp
0
340
Cassandraの活用とその事例
cassandracommunityjp
0
520
Microsoft Azureを基盤としたライフサイエンス業界事例でのCassandra / DataStax Enterpriseの活用
cassandracommunityjp
0
220
Microsoft Azure で実現する Cassandra とその活用事例
cassandracommunityjp
0
370
Troubleshooting Apache Cassandra
cassandracommunityjp
0
350
Cassandra Summit Tokyo 2017 Keynote
cassandracommunityjp
0
440
Other Decks in Technology
See All in Technology
Model Mondays S2E03: SLMs & Reasoning
nitya
0
350
面倒な作業はAIにおまかせ。Flutter開発をスマートに効率化
ruideengineer
0
210
Yamla: Rustでつくるリアルタイム性を追求した機械学習基盤 / Yamla: A Rust-Based Machine Learning Platform Pursuing Real-Time Capabilities
lycorptech_jp
PRO
4
230
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
21
7.2k
SmartNewsにおける 1000+ノード規模 K8s基盤 でのコスト最適化 – Spot・Gravitonの大規模導入への挑戦
vsanna2
0
120
Glacierだからってコストあきらめてない? / JAWS Meet Glacier Cost
taishin
1
150
KubeCon + CloudNativeCon Japan 2025 Recap by CA
ponkio_o
PRO
0
290
プライベートクラウドでの効率的な証明書配布戦略 / Efficient Certificate Distribution Strategy in Private Cloud
lycorptech_jp
PRO
0
110
MUITにおける開発プロセスモダナイズの取り組みと開発生産性可視化の取り組みについて / Modernize the Development Process and Visualize Development Productivity at MUIT
muit
1
15k
使いたいMCPサーバーはWeb APIをラップして自分で作る #QiitaBash
bengo4com
0
1.6k
論文紹介:LLMDet (CVPR2025 Highlight)
tattaka
0
310
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
2
7.7k
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.7k
It's Worth the Effort
3n
185
28k
Scaling GitHub
holman
459
140k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.9k
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.4k
A better future with KSS
kneath
239
17k
GitHub's CSS Performance
jonrohan
1031
460k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
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]