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
リリース前に必死にパフォチューしたけど実は不要だったかもれない。 安心材料にはなったけど!
Search
Satoharu Mori
September 22, 2017
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
リリース前に必死にパフォチューしたけど実は不要だったかもれない。 安心材料にはなったけど!
Satoharu Mori
September 22, 2017
More Decks by Satoharu Mori
See All by Satoharu Mori
ドキュメントの話
satoharumori
0
23
ソケットサーバRatchet導入事例
satoharumori
0
74
Featured
See All Featured
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
460
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
410
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
300
Building Applications with DynamoDB
mza
96
7.2k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
30 Presentation Tips
portentint
PRO
1
430
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
430
Transcript
ϦϦʔεલʹඞࢮʹύϑΥνϡʔ͠ ͚ͨͲ࣮ෆཁ͔ͩͬͨΕͳ͍ɻ ҆৺ࡐྉʹͳ͚ͬͨͲʂ L TLovers 2nd - what you willed
to "build" - (@BookLepisma)
ࣗݾհ (Γ ͞ͱΔ) T witter:@BookLepisma ג)ORATTA αʔόΤϯδχΞ(PHPer)
ιγϟήͷ։ൃ/ӡӦͬͯ·͢ʂ αʔόΤϯδχΞืूதͰ͢(࣮)
ڥઆ໌ LEMP(Linux+nginx+MySQL+PHP) PHP 5.xܥ ϓϩϑΝΠϥʔʹxhprof ϚελσʔλDB͡Όͳͯ͘ϑΝΠϧʹྻ Ͱཧ+దٓAutoLoad
ϦϦʔεҰ݄લ αʔόͷ։ൃ͕େམͪண͍͖ͯͨ ʮ͡Ό͋ύϑΥʔϚϯεΈΔʂʯ ٱ͠ͿΓʹxhprofΛ͍ͯΈΔ͜ͱʹ…
None
None
ଟ͘ͷAPI͕Ϩεϙϯεʹ 1ඵҎ্͔͔͍ͬͯͨɻ தʹ5ʙ10ඵҎ্͔͔͍ͬͯΔͷ…
͜Ε͡ΌϦϦʔε Ͱ͖ͳ͍!!
େ߄ͯͰϦϑΝΫλϦϯά։࢝
ͱ͍͑… ฐࣾͰӡ༻தͷλΠτϧͱͦΜͳʹҧ͏͜ͱ ͍ͯ͠ͳ͍ɻ Ή͠Ζը໘ඳը͠ͳ͍ͱ͍͚ͳ͍ϒϥβλ ΠτϧΑΓ͍ܰͣ͡ΌΜʁ ͔࣮͠͠ϕʔεͰύϑΥʔϚϯεऴΘͬ ͍ͯΔorz
ͬͨ͜ͱ ແବʹΫϥεΠϯελϯε࡞͍ͬͯͨͱ͜ΖΛ ྻͰॲཧ͢ΔΑ͏ʹमਖ਼(Ϋϥεੜॏ͍ ܭࢉͰ࡞͍ͬͯͨΛՄೳͳݶΓDBʹ Ωϟογϡͤ͞Δ(େվमorz ϚελϑΝΠϧͷແବͳϩʔυΛݮΒ͢Α͏ʹ मਖ਼(ཧϑΝΠϧͷΞΫηεॏ͍
ϦϦʔε1ϲ݄લʹԿΛͯ͠ ͍Δͷ͔…
ͰΓ͖Βͳ͍ͱ αʔϏεͱͯ͠Ͳ͏͠Α͏ͳ͍ orz
ͦͯ͠զʑΓ͛ͨɻ
Ͳ͏ʹ͔ຆͲͷAPI͕ 1ඵҎʹಈ࡞͢ΔΑ͏ʹͳͬͨ!!
ͦΕͰ͍ͷ͋ͬͨɻ ͦΕ͍ͬͯͬΜʹσʔλҾ͖͗͢ͳ͚ͩͳ Μ͡ΌͶʔͷʁ େͨ͜͠ͱͯ͠ͳ͍APIͰͬ͞Γ͢Δ࣌ ͕͋Δ… αʔό(։ൃڥ)ॏ͔ͬͨΓͱ͔ʁ
$top
load average: 3.**
LA3ͩͱ… զʑۮવʹߴෛՙݕূ Λ͍ͯͨ͠Α͏ͩ…
php-fpmͱnginxͷ࠶ىಈͰLAਖ਼ৗԽ ͦΕʹ͍APIͷύϑΥʔϚϯεશ্ͯ ͨͩ୯ʹਖ਼ৗԽ͚ͨͩ͠ͱ͍͏…
ݱࡏ NewRelicಋೖʂ ఆظతʹ֬ೝɻ Ϡόͦ͏ͳͷ͕͋ͬͨΒ xhprofͰৄࡉ֬ೝͯ͠Ϧ ϑΝΫλϦϯάɻ
·ͱΊ ͍ͬ͢͝ϦϑΝΫλϦϯά͔ͨ͠Β݁Ռతʹ ύϑΥʔϚϯε্ͨ͠ɻ ͦͷ··ग़͢ΑΓ҆৺ײ͕૿ͨ͠ɻ ͨ·ʹtopίϚϯυୟ͜͏!!