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
IDCFクラウドを使ってどこまでチューニングできるか試してみた
Search
abnoumaru
June 29, 2016
0
200
IDCFクラウドを使ってどこまでチューニングできるか試してみた
idcf meet up 2016/06/28
abnoumaru
June 29, 2016
Tweet
Share
More Decks by abnoumaru
See All by abnoumaru
3-shake SRE Tech Talk #10 LLMのO11yに触れる
abnoumaru
2
10k
マイクロサービスの現場からプラットフォームエンジニアリングの可能性を探る!
abnoumaru
2
9k
SLOいつ決めましょう?
abnoumaru
5
2.2k
あなたらしくSRE(公開用)
abnoumaru
4
7.4k
SRE Lounge 20180117
abnoumaru
0
6.6k
AWS認定ソリューションアーキテクトを受けた話
abnoumaru
1
1.9k
Featured
See All Featured
Happy Clients
brianwarren
98
6.7k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.3k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.2k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
Raft: Consensus for Rubyists
vanstee
136
6.6k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
YesSQL, Process and Tooling at Scale
rocio
169
14k
Thoughts on Productivity
jonyablonski
67
4.3k
BBQ
matthewcrist
85
9.3k
Transcript
IDCFΫϥυΛͬͯ Ͳ͜·ͰνϡʔχϯάͰ͖Δ͔ ࢼͯ͠Έͨ גࣜձࣾϋʔτϏʔπ ӡ༻ελοϑ Ѩ෦وথ
͡Ί·ͯ͠!
ࣗݾհ • ࢯ໊: Ѩ෦وথ • ৽ଔ1 ೖࣾ4 • (AWS-SA associate)
• AKBͳΒԣࢁ༝ґͪΌΜ(11Ґ)͕͖Ͱ͢
ࠓճొஃͷܦҢ
Ϛελʔͷґཔઈର…
ࣾձਓͱͳ͍ͬͨ·
͓͕ۚେࣄʂ
੫ۚʹڻ͘৽ଔ
νϡʔχϯάͷ࿅शݕূʹ ͓͔͚ۚͨ͘ͳ͍
֤छΫϥυαʔϏεͷ ແྉ/֨҆ใʹ͕ͳ͍
IDCFΫϥυ • 500ԁ͔Β͑Δʂ • 500ԁΫʔϙϯΒ͑Δ • ্ݶ͕͋ΔͷͰͦΕҎ্͍͔ͳ͍
ࠓճΓ͍ͨ͜ͱ • ISUCONͷ࿅श • ϕϯνϚʔΫɺڥ͕ެ։͞ΕͯΔͷͰ… • ͍͔ʹ͓ۚΛ͔͚ͳ͍͔ • είΞྑ͔ͬͨΒྑ͍ͳʙ
IDCFͰݐͯͨαʔό • light.S1 • 1CPU,1GB RAM • 15GB
ISUCONڥͷ࡞Γํ • ISUCON༧બಥഁͷ伴աڈΛղ͘͜ͱͳͷͰແྉͰࢼͤΔΑ͏ʹͨ͠ (Vagrant+Ansible) • http://d.hatena.ne.jp/tmatsuu/20150815/1439643715 • ࠓճֶੜֶ࣌ੜ2Ґͳ͕ΒෆඋͰࣦ֨ͱͳͬͨ ࢥ͍ग़ͷ͋ΔISUCON4༧બͷΛ༻ •
(IDCF͞ΜαόϑΣεͷͱ͖͋Γ͕ͱ͏͍͟͝·ͨ͠…!!!) • AnsibleҰؾʹ࡞
ͦ͏͍͔ͳ͍
ࢭ·ΔAnsible
[root@hakushika01 ~]# grep 'oom-killer' /var/log/messages Jun 27 15:42:50 hakushika01 kernel:
top invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0 Jun 27 16:58:19 hakushika01 kernel: mysqld invoked oom-killer: gfp_mask=0x201da, order=0, oom_adj=0, oom_score_adj=0
OOM Killer
͍͢͝໎͍·͕ͨ͠
ٽ͘ٽ͘՝ۚ
IDCFͰ࠶ͼݐͯͨαʔό • light.S2 • 1CPU,2GB RAM • 15GB • 1400ԁ…͏·͍΅͏140ຊ…
Ansibleޭ
࠷ॳͷϕϯν
None
࣌ؒͳ͍ͷͰҋӢʹ νϡʔχϯά͍ͯ͘͠
ࣄ͋Δ͝ͱʹى͖Δ
OOM Killer…
MySQLʹؔͯ͠ IndexషΔ͚ͩͰOOM Killer ͬͨ…
3͙࣌ؒΒ͍ઓͯ͠Ϊϒͨ͠
·ͱΊ • 1400ԁ͔͔ͬͪΌͬͨ… • ࠷େॠؒ෩Workload 1(ϕϯνϚʔΫͷෛՙ)Ͱ 592ͩͬͨ…orz • ৽ଔ͕OOM Killerʹ࿔͞ΕͪΌͬͨ…
• ͏ͪΐͬͱͪΌΜͱͨ͠είΞग़͔ͯ͠Β ࢀߟʹͨ͠هࣄͱͱʹϒϩάʹॻ͔͍ͤͯͩ͘͞
• גࣜձࣾϋʔτϏʔπͰҰॹʹಇؒ͘Λ ืू͓ͯ͠Γ·͢ɻ • த్ɺ৽ଔɺֶੜΞϧόΠτɺ ਵ࣌ืू͓ͯ͠Γ·͢ͷͰ͓ئ͍க͠·͢ʂ ࠷ޙʹ