Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
IDCFクラウドを使ってどこまでチューニングできるか試してみた
Search
abnoumaru
June 29, 2016
340
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
IDCFクラウドを使ってどこまでチューニングできるか試してみた
idcf meet up 2016/06/28
abnoumaru
June 29, 2016
More Decks by abnoumaru
See All by abnoumaru
組織にどうSREを根付かせるか?〜IVRyの場合〜
abnoumaru
0
490
文字起こし基盤の信頼性
abnoumaru
0
230
IVRyのSREが始まって1年
abnoumaru
1
1.4k
Road to SRE NEXT@仙台 IVRyの組織の形とSLO運用の現状
abnoumaru
1
1.2k
IVRyエンジニア忘年LT大会2024 クリティカルユーザージャーニーの整理
abnoumaru
0
610
ゆるSRE勉強会 #8 組織的にSREが始まる中で意識したこと
abnoumaru
2
2.4k
3-shake SRE Tech Talk #10 LLMのO11yに触れる
abnoumaru
2
13k
マイクロサービスの現場からプラットフォームエンジニアリングの可能性を探る!
abnoumaru
2
13k
SLOいつ決めましょう?
abnoumaru
4
3k
Featured
See All Featured
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
420
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
510
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
270
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
430
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
720
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
510
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Fireside Chat
paigeccino
43
4k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
900
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
750
GitHub's CSS Performance
jonrohan
1033
470k
Writing Fast Ruby
sferik
630
63k
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ʹ࿔͞ΕͪΌͬͨ…
• ͏ͪΐͬͱͪΌΜͱͨ͠είΞग़͔ͯ͠Β ࢀߟʹͨ͠هࣄͱͱʹϒϩάʹॻ͔͍ͤͯͩ͘͞
• גࣜձࣾϋʔτϏʔπͰҰॹʹಇؒ͘Λ ืू͓ͯ͠Γ·͢ɻ • த్ɺ৽ଔɺֶੜΞϧόΠτɺ ਵ࣌ืू͓ͯ͠Γ·͢ͷͰ͓ئ͍க͠·͢ʂ ࠷ޙʹ