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
what-you-did-with-non-engineers-to-solve-with-e...
Search
mamy1326
June 23, 2018
Programming
0
330
what-you-did-with-non-engineers-to-solve-with-engineering-infra-half-year-offline-event
2018年6月23日(土)、インフラ勉強会 半年記念オフライン企画で発表したLTの内容です。
mamy1326
June 23, 2018
Tweet
Share
More Decks by mamy1326
See All by mamy1326
PHPer が知るべき MySQL クエリチューニング/What PHPers Need to Know about MySQL Query Tuning
mamy1326
17
7.1k
戦って品質保証を勝ち取る/Fight_for_quality_assurance
mamy1326
2
710
MySQLでGROUP BY と ORDER BY を同時に使いたくなったら/If_you_want_to_use_GROUP_BY_and_ORDER_BY_at_the_same_time_in_mysql
mamy1326
4
5.6k
初めてのMySQLパフォーマンスチューニングーデータベースは怖くない!/mysql-performance-tuning-basics-in-db-study-chugoku-chiho
mamy1326
8
2.6k
アウトプットを継続するためにやる10箇条-吉祥寺.pm-/10_things_practicing_to_continue_output-in_kichijoji.pm
mamy1326
4
2.1k
MySQLパフォーマンスチューニングの基本ー実際のトラブルシュートから my.cnf までー/MySQL_Performance_Tuning_Basics_in_OSC_Niigata
mamy1326
2
3.4k
アウトプットを継続するためにやっている 10 のこと/10_things_practicing_to_continue_output
mamy1326
21
9.4k
アプリケーションエンジニアが知るべきDNSの基本/Basics_of_DNS_that_application_engineers_should_know
mamy1326
113
46k
dns-penetration-problem-why-can-not-i-say-penetration-kichijojipm15
mamy1326
5
3.4k
Other Decks in Programming
See All in Programming
DjangoNinjaで高速なAPI開発を実現する
masaya00
0
510
自分だけの世界を創るクリエイティブコーディング / Creative Coding: Creating Your Own World
chobishiba
2
1k
個人開発で使ってるやつを紹介する回
yohfee
1
700
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
470
CSC509 Lecture 04
javiergs
PRO
0
140
コードレビューと私の過去と未来
jxmtst
0
280
VS Code extension: ドラッグ&ドロップでファイルを並び替える
ttrace
0
170
2024-10-02 dev2next - Application Observability like you've never heard before
jonatan_ivanov
0
180
Vue :: Better Testing 2024
up1
1
400
Memory API: Patterns, Use Cases, and Performance
josepaumard
1
160
[KR] Server Driven Compose With Firebase
skydoves
2
200
Introduce dRuby
ledsun
0
110
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
296
20k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
1
290
Adopting Sorbet at Scale
ufuk
73
9k
The Language of Interfaces
destraynor
154
24k
Side Projects
sachag
452
42k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
130k
A Modern Web Designer's Workflow
chriscoyier
692
190k
Ruby is Unlike a Banana
tanoku
96
11k
Web Components: a chance to create the future
zenorocha
310
42k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Intergalactic Javascript Robots from Outer Space
tanoku
268
27k
Transcript
ΤϯδχΞϦϯά Ͱղܾ͢ΔͨΊʹ ඇΤϯδχΞͱ Ұॹʹͬͨ͜ͱ ·Έͳ͓͖ !NBNZ +VOΠϯϑϥษڧձ!ه೦ΦϑϥΠϯاը
ࣗݾհ Name ɿ·Έͳ͓͖ Twitterɿ@mamy1326ʢ·Έʔʣ - WebΤϯδχΞɺPHPer - 2017 MySQL͕झຯ -
2018 DNSͱωοτϫʔΫ͕झຯ
͓ͯ ͏Β
ຊ ࣋ͪؼͬͯ ͍ͨͩ͘͜ͱ
ඇΤϯδχΞͱ าΈدΔ
าΈدΔ͜ͱ ͦΕ͕νʔϜ
͓͢Δ͜ͱ ▶︎ ͡Ίʹ ▶︎ ޓ͍ʹ๊͑Δ՝ͱΈ ▶︎ ͬͨ͜ͱᶃʙᶆ ▶︎ ݁Ռ ▶︎
มΘͬͨ͜ͱɺΦεεϝ͍ͨ͜͠ͱ
͓͢Δ͜ͱ ▶︎ ͡Ίʹ ▶︎ ޓ͍ʹ๊͑Δ՝ͱΈ ▶︎ ͬͨ͜ͱᶃʙᶆ ▶︎ ݁Ռ ▶︎
มΘͬͨ͜ͱɺΦεεϝ͍ͨ͜͠ͱ
⾣ΤϯδχΞϦϯάͰղܾ͢Δʹ ɾεςʔΫϗϧμʔͱࢹ࠲Λڞ༗ ɹɹˠಛʹσΟϨΫλʔ ɾޓ͍ͷٕज़Λຖ-5͋͠͏ ૬ޓཧղΛਂΊॏͳΓΛ͛Δ ͡Ίʹ
͓͢Δ͜ͱ ▶︎ ͡Ίʹ ▶︎ ޓ͍ʹ๊͑Δ՝ͱΈ ▶︎ ͬͨ͜ͱᶃʙᶆ ▶︎ ݁Ռ ▶︎
มΘͬͨ͜ͱɺΦεεϝ͍ͨ͜͠ͱ
⾣σΟϨΫλʔͷ՝ͱΈ ɾΤϯδχΞ͕࡞ۀݟੵ ɾΫϥΠΞϯτͱΤϯδχΞͷཱͪ ɾ͔͠͠σΟϨΫλʔΤϯδχΞͰͳ͍ ݟੵଥʁ ͦΜͳʹେมͳ࡞ۀʁ ޓ͍ʹ๊͑Δ՝ͱΈ
⾣ΤϯδχΞͷ՝ͱΈ ɾσΟϨΫγϣϯͬͯԿ͢Ε͍͍ͷʁ ɾϦʔμʔγοϓͬͯ۩ମతʹͳΜͩΖ͏ ɾΫϥΠΞϯτͷલ໘ʹཱ͍ͬͯͳ͍ ɹɹˠཁ݅ΛऔΓ͜΅͢໘͕ ΫϥΠΞϯτରԠ͍͖ͭͤΓ ޓ͍ʹ๊͑Δ՝ͱΈ
ڞ௨ͷࢥ͍ɻ ɹʰޓ͍ͷۀΛ ɹɹͪΌΜͱΓ͍ͨʂʱ
͓͢Δ͜ͱ ▶︎ ͡Ίʹ ▶︎ ޓ͍ʹ๊͑Δ՝ͱΈ ▶︎ ͬͨ͜ͱᶃʙᶆ ▶︎ ݁Ռ ▶︎
มΘͬͨ͜ͱɺΦεεϝ͍ͨ͜͠ͱ
⾣૬ஊͨ͠ ɾϦʔυσΟϨΫλʔͱϥϯν ɾޓ͍ͷΓ͍ͨ͜ͱ͕Θ͔ͬͨ ɾ൴ʹʮॳֶˠख़࿅ʹʯڭҭܦݧ͕͋ͬͨ ՝ਤॻΛܾΊͨ ͬͨ͜ͱᶃ
⾣՝ਤॻ ͬͨ͜ͱᶃ ৬छ ՝ਤॻ બఆཧ༝ ΤϯδχΞ ؒ%/4جૅߨ࠲ %/4Λ͡ΊΑ͏ ωοτϫʔΫͷجૅ͕ࣝͳ͍ ͜ͱ͕Έͩͬͨ
ˍ ӡӦࢹͰσΟϨΫλʔ %/4ใΛཉ͍ͯͨ͠ σΟϨΫλʔ εϞʔϧϦʔμʔγοϓ ΤϯδχΞϦϯά ɹɹɹɹ৫ͷট Ϧʔμʔγοϓ৫࡞Γʹ՝ ͕͋ͬͨ ˍ ΤϯδχΞ͕Ϧʔμʔ৫ܗ ͷࢹΛཉ͍ͯͨ͠
⾣ຖ-5͋ͬͨ͠ ɾ՝ਤॻΛʮઈରʹ͔ܽͣ͞ʯຖಡΉ ɹɹˠຖʢܧଓͰ͖Δઈົͳ࣌ؒʣ ɾಡΜͩ༰ΛFTBʹ·ͱΊΔ ɾ૬ख͕ཧղͰ͖ΔΑ͏ʹ-5͋͠͏ ɹɹˠޓ͍ʹײΛަɺ࣭ٙԠΛ͢Δ ࣗݾֶशͱ૬ޓཧղ͕࢝·ͬͨ ͬͨ͜ͱᶄ
⾣ϲ݄ܧଓ͢Δ ɾటਲ͠Α͏͕ମௐѱ͔Ζ͏͕ඞֶͣश ɹɹˠ-5ۀͷ߹Λߟ͑ͯՄೳͳݶΓ ɾॕֶश͢Δ ɾͱʹ͔͘श׳ʹ͢Δ ɹɹˠֶͼ͕ήʔϜײ֮ʹͳΓɺΓͨ͘ͳΔ ʑָ͘͠ͳ͍ͬͯ͘ ͬͨ͜ͱᶅ
⾣݄ʹͷ,15 ɾܧଓͨ͜͠ͱʹΑΔ,FFQ ɹɹˠಘΒΕͨ͜ͱɺมΘͬͨ͜ͱ ɾͬͯΈͯײͨ͡1SPCMFN ɾͱʹ͔͘ϙδςΟϒʹ5SZ ϲ݄લͱҧ͏ࣗͷൃݟ ͬͨ͜ͱᶆ
͓͢Δ͜ͱ ▶︎ ͡Ίʹ ▶︎ ޓ͍ʹ๊͑Δ՝ͱΈ ▶︎ ͬͨ͜ͱᶃʙᶆ ▶︎ ݁Ռ ▶︎
มΘͬͨ͜ͱɺΦεεϝ͍ͨ͜͠ͱ
⾣ωοτϫʔΫͷجૅ͕ʹ͍ͭͨ ɾ5$1*1ͷཧղ͕ਂ·ͬͨ ɹɹˠ֓ཁΛֶͼɺ-5͢ΔʹࢸͬͨʢϚαΧϦΒͬͨX ɾ%/4ͷجૅ͕Θ͔Γɺۀʹཱͬͨ ɹɹˠτʔΫΛ͢ΔʹࢸΓɺΠϯϑϥษڧձͰొஃ ɾσΟϨΫλʔ͕5$1*1ͱ%/4Λཧղ ͦΜͳʹ͔͔Δʁ͔ΒʮͳΔ΄Ͳ͔͔Δʯ ݁Ռ
⾣Ϧʔμʔγοϓͷࢹ࠲্͕͕ͬͨ ɾجຊతͳࢹ্ ɾνʔϜͱ৫ͷΛ࠶ೝࣝ ɾςΫχΧϧσΟϨΫλʔͱͯ͠ͷֶͼ ɹɹˠΫϥΠΞϯτͷ՝ղܾҙ্ࣝ ৫ʹର͢Δࢹ࠲ͷڞ༗ ݁Ռ
⾣θϩඵࢥߟ͕ʹ͍ͭͨ ɾ-5ͷޙʹؒɺθϩඵࢥߟΛ࣮ફ ɾࢥߟͷ্ ɹɹˠ՝ׂɺৼΓฦΓ͕త֬ʹ ɾ.5(Ͱͷൃݴ্ ɹɹˠࢥߟ͕ͬ͢ͱܗʹͳΓɺݴ༿ʹͳΓ͍͢ ࣌ؒΛޮతʹ͑ΔΑ͏ʹ ݁Ռ
͓͢Δ͜ͱ ▶︎ ͡Ίʹ ▶︎ ޓ͍ʹ๊͑Δ՝ͱΈ ▶︎ ͬͨ͜ͱᶃʙᶆ ▶︎ ݁Ռ ▶︎
มΘͬͨ͜ͱɺΦεεϝ͍ͨ͜͠ͱ
⾣ڵຯΛ࣋ͭਓ͕૿͑ͨ ɾใʹॻ͍ͯΈͨ ɹɹˠڌʢ౦ژɾԬʣɺ৬छΛ͑ͯʹͳͬͯͨ ɾࣾษڧձ͕ΑΓೝ͞Εͨ ɹɹˠશମࠂ͞Εͳ͍ษڧձ͕ଟ͔ͬͨͷ͕มΘΓ࢝Ίͨ ɾԣల։͕࢝·ͬͨ ৫શମͷఈ্͛ʹܨ͕ͬͨ มΘͬͨ͜ͱ
⾣ࢹ࠲͕ڞ༗Ͱ͖ΔΑ͏ʹͳͬͨ ɾΤϯδχΞͷ࡞ۀͷཧղ ɹɹˠݟੵΓΛղઆ͠ͳ͍͍ͯ͘໘͕૿͑ͨ ɾσΟϨΫλʔͷۀͷཧղ ɹɹˠΫϥΠΞϯτͷڮ͠Λੵۃతʹ࣮ࢪ͢ΔΑ͏ʹ ɾϦʔμʔγοϓɺϚωδϝϯτΛҙࣝ ৫ͷ՝ΛΑΓҙࣝ͢ΔΑ͏ʹ มΘͬͨ͜ͱ
⾣૬ޮՌ ɾཧղ͠߹͑Δʢ৬छΛӽ͑ͯʣ ɾϙδςΟϒͳධՁʢධՁ໘ஊʣ ɾԣల։Ͱ͖Δࢿྉʢڭҭ༻ʣ ɾίϛϡχέʔγϣϯʢ໌Β͔ʹ૿Ճʣ ɾֶश͕श׳Խʢຊʹຖʣ มΘͬͨ͜ͱ
⾣૬ޮՌ ɾֶशͷήʔϜԽʢָ͍͠ʂʣ ɾઌʑͷܭըʢܭըʹ߹Θͤͯʣ ɾੜ׆श׳ͷվળʢֶश࣌ؒͷҙࣝʣ ɾҰੴOௗʢָ͍͠ʂʣ ɾFUDʜ มΘͬͨ͜ͱ
⾣ύʔτφʔΛݟ͚ͭΑ͏ʂ ɾΈͷڞ༗Ͱ૬ޓཧղ ɹɹˠΠϯϓοτͱΞτϓοτͷ܁Γฦ͠ɹʴɹϓϨθϯྗ61 ɾ৬छΛ͑ͨܨ͕Γ͕ڧݻʹ ɾձࣾΛ͑ͯܨ͕͍͍ͬͯ͡Όͳ͍ʂ ɹɹˠԆઢ্Ͱొஃͷػձʹʂ ɾࣄ৬ָ͘͠ͳΔ ɹɹˠۀҎ֎ͷίϛϡχέʔγϣϯ૿͑ɺ ɹɹɹൣғ֎ͷۀͷ߅ݮΔ Φεεϝ͍ͨ͜͠ͱ
Έͳ͞Μͥͻ ύʔτφʔΛ ݟ͚ͭͯ
ྑ͍νʔϜ"Λ ߏஙͯ͠
ΤϯδχΞϦϯάͰ ղܾͰ͖Δ͜ͱΛ ૿͍͖ͯ͠·͠ΐ͏ʂ
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ