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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
CassandraCommunityJP
May 13, 2015
Technology
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Yuki Morishita
Cassandra Summit Tokyo 2015
CassandraCommunityJP
May 13, 2015
More Decks by CassandraCommunityJP
See All by CassandraCommunityJP
Azure Managed Instance for Apache Cassandra
cassandracommunityjp
0
250
Cassandra on Kubernets- K8ssandra
cassandracommunityjp
0
650
Transaction Management on Cassandra
cassandracommunityjp
0
370
運用中システムにおける6億レコードのデータ移行に関する課題と解決
cassandracommunityjp
0
400
Cassandraの活用とその事例
cassandracommunityjp
0
560
Microsoft Azureを基盤としたライフサイエンス業界事例でのCassandra / DataStax Enterpriseの活用
cassandracommunityjp
0
250
Microsoft Azure で実現する Cassandra とその活用事例
cassandracommunityjp
0
420
Troubleshooting Apache Cassandra
cassandracommunityjp
0
370
Cassandra Summit Tokyo 2017 Keynote
cassandracommunityjp
0
460
Other Decks in Technology
See All in Technology
FORENSIA: ローカルLLMフォレンジックハーネス
sumeshi
0
130
侵入は突然に 〜 IoTマルウェアと悪用される家庭の機器 ~ / When Intrusion Strikes: IoT Malware and the Abuse of Home Devices
nttcom
0
1.5k
ラジオの科学
frievea
0
230
『三匹の子ぶた』から学ぶネットワークセキュリティの昔と今 / Network Security: Then and Now Through the Lens of The Three Little Pigs
nttcom
1
1.7k
個人OSSが、机の上から世界に広がるまでの話
shinyasaita
1
350
Redmine 7.0 新機能・機能強化解説(OSC2026京都ダイジェスト版)
vividtone
1
190
PLaMo 3.0 Primeの事後学習
pfn
PRO
0
270
SmartHR Engineering Team Deck
smarthr
0
200
MIRU 2026 チュートリアル
keisuke198619
0
830
TypeScript入門 2026
recruitengineers
PRO
1
360
認知負荷をGemini で溶かす — GKE 基盤「Orbit」における AI エージェントの実践
sansantech
PRO
1
250
JavaScript 研修 (2026)
recruitengineers
PRO
0
330
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
BBQ
matthewcrist
89
10k
How GitHub (no longer) Works
holman
316
150k
Docker and Python
trallard
47
4.1k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
400
How to Talk to Developers About Accessibility
jct
2
480
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
980
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
270
GitHub's CSS Performance
jonrohan
1033
470k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.3k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
400
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]