Pro Yearly is on sale from $80 to $50! »

Elastic StackでWordPress
サイトのパフォーマンスを
計測してみたかった

Elastic StackでWordPress
サイトのパフォーマンスを
計測してみたかった

WordBench京都 2017.10.14 #wbkyoto

F703b996b502414dd880bc39789faa8f?s=128

Daisuke Konishi

October 14, 2017
Tweet

Transcript

  1. &MBTUJD4UBDLͰ8PSE1SFTT
 αΠτͷύϑΥʔϚϯεΛ
 ܭଌͯ͠Έͨ %BJTVLF,0/*4)*

  2. &MBTUJD4UBDLͰ8PSE1SFTT
 αΠτͷύϑΥʔϚϯεΛ
 ܭଌͯ͠Έ͔ͨͬͨ %BJTVLF,0/*4)*

  3. %BJTVLF,0/*4)* ϚʔΫΞοϓΤϯδχΞ 8PSE#FODIژ౎ϞσϨʔλʔ

  4. None
  5. ࠓճ໨ࢦ͢΋ͷ

  6. w &MBTUJDࣾͷϓϩμΫτΛ
 ͬ͘͟Γཧղͨ͠ؾʹͳΔ w 8PSE1SFTTͰߏஙͨ͠αΠτͷ
 ύϑΥʔϚϯεΛܭଌ͢Δ
 
 ˞ࠓճͷύϑΥʔϚϯεͷఆٛ
 ɹɹϑΝΠϧͷసૹʹ͔͔Δ଎౓ ࠓճ໨ࢦ͢΋ͷ

  7. ϑΝΠϧ"ͷ
 సૹ͕஗͍ දࣔ͞ΕΔ·Ͱ ˓NT ͍ͭͰ΋ݟΕΔ

  8. ࠓճͷ&MBTUJDϓϩμΫτ

  9. &MBTUJDTFBSDI εέʔϥϒϧͰɺߴ৴པੑɺ༰қͳ؅ཧΛ
 ಛ௕ͱ͢Δɺ෼ࢄܕݕࡧ͓Αͼ෼ੳΤϯδϯ

  10. ,JCBOB &MBTUJDTFBSDIͷσʔλΛՄࢹԽͨ͠Γɺ
 ͦͷͨΊͷը໘ઃܭ͕Ͱ͖Δπʔϧ

  11. #FBUT ܰྔσʔλγούʔ ز͔ͭͷػೳʹ෼͔Ε͓ͯΓɺͦΕͧΕ͕
 औಘͨ͠σʔλΛૹ৴Ͱ͖Δ

  12. None
  13. ͜Μͳ෩ʹσʔλΛऩू͠ՄࢹԽ

  14. ؀ڥΛ༻ҙ͢Δ

  15. ಋೖͯ͠Έͨ Λ

  16. w ͬ͘͟Γݴ͑͹Ծ૝؀ڥπʔϧͷྨɻ w 8PDLFS͸%PDLFSͰ࡞ΒΕͯ·͢Αʂ

  17. w ίϯςφ͝ͱʹ؅ཧͰ͖ΔͷͰཁΒͳ͘ͳͬͨΒ
 ࣺͯΒΕΔ͠ɺٯʹ௥Ճ΋؆୯ w ඞཁʹԠͯ͡εϖοΫΞοϓͰ͖Δ ϝϞϦͱ͔  w ىಈ͕ૣ͍ 8PDLFSΛࢥ͍ු͔΂·͠ΐ͏

     w %PDLFS)VCͷطଘϦιʔεΛ࢖͑Δ ޙड़
  18. %PDLFSGPS.BDΛ Πϯετʔϧ

  19. *OTUBMM%PDLFSGPS.BDc%PDLFS%PDVNFOUBUJPO
 IUUQTEPDTEPDLFSDPNEPDLFSGPSNBDJOTUBMM

  20. ࣮ࡍͷαʔόʔͰ࢖͏ͳΒ &MBTUJDTFBSDI,JCBOBͷ؀ڥΛ༻ҙ "&4 "84 &MBTUJD$MPVE ࣗલͰ૊Ή 8PSE1SFTT͸714ͱ͔Ϋϥ΢υͰ༻ҙ 1BDLFUCFBUT΋૸ΒͤΔ

  21. ࠓճ࢖͏Πϝʔδ͸
 %PDLFS)VC΍&MBTUJD͔Β

  22. %PDLFSΠϝʔδͷڞ༗αʔϏε %PDLFS)VC

  23. ઌਓͷΠϝʔδ͕ެ։͞ΕͯΔ

  24. ࠓճ࢖͏%PDLFSΠϝʔδ wXPSEQSFTT wNZTRM wQSPUFBOTFDQBDLFUCFBU wFMBTUJDTFBSDI wLJCBOB &MBTUJDެࣜΠϝʔδ

  25. ίϯςφͷىಈ EPDLFSSVOOBNFTPNFXPSEQSFTTMJOLTPNF NZTRMNZTRMQEXPSEQSFTT Πϝʔδͷϖʔδʹॻ͍ͯ͋Δ͜Μͳײ͡ͷίϚϯυͰ ىಈ͢Δ

  26. ίϯςφͷىಈ EPDLFSSVOOBNFTPNFXPSEQSFTTMJOLTPNF NZTRMNZTRMQEXPSEQSFTT Πϝʔδͷϖʔδʹॻ͍ͯ͋Δ͜Μͳײ͡ͷίϚϯυͰ ىಈ͢Δ ຖճݸ΋΍Δͷ໘౗ʂ

  27. EPDLFSDPNQPTFͰ
 ඞཁͳίϯςφΛ؅ཧ

  28. ݸผىಈ͸खؒͳͷͰ·ͱΊΔ Ұ౓ઃఆϑΝΠϧΛॻ͚͹ɺͦΕΛ΋ͱʹ
 ඞཁͳίϯςφΛىಈͯ͘͠ΕΔ

  29. version: '3' services: mysite_db: image: mysql environment: MYSQL_ROOT_PASSWORD: password mysite:

    image: wordpress environment: WORDPRESS_DB_PASSWORD: password WORDPRESS_DB_USER: root WORDPRESS_DB_HOST: mysite_db:3306 WORDPRESS_DB_NAME: mysite ports: - "8080:80" links: - mysite_db .Z42- 8PSE1SFTT
  30. EPDLFSDPNQPTFVQ ىಈ͸Կ΋ߟ͑ͣ͜Ε͚ͩ

  31. EPDLFSDPNQPTFQT ىಈঢ়ଶ͸ɺҎԼͰ֬ೝͰ͖·͢

  32. ͦΕͧΕͷઃఆΛ͢Δ

  33. ઃఆ͕ඞཁͳͷ͸ҎԼ w8PSE1SFTT
 Πϯετʔϧ࡞ۀ͕ඞཁ w&MBTUJDTFBSDI
 ΠϯσοΫεͷςϯϓϨʔτΛ௥Ճ w,JCBOB
 ΠϯσοΫεͷࢦఆμογϡϘʔυͷ௥Ճ

  34. ͍ͭ΋ͷΠϯετʔϧ 8PSE1SFTT

  35. DVSM)$POUFOU5ZQFBQQMJDBUJPOKTPO9165IUUQ MPDBMIPTU@UFNQMBUFQBDLFUCFBU E!QBDLFUCFBUUFNQMBUFKTPO ΠϯσοΫεςϯϓϨʔτΛ࡞੒ ಺แ͞Ε͍ͯΔςϯϓϨʔτΛ&MBTUJDTFBSDIʹ
 ద༻ͤ͞Δɻ &MBTUJDTFBSDI

  36. μογϡϘʔυΛ௥Ճ &MBTUJDTFBSDIͷ৘ใΛՄࢹԽ͢ΔͨΊʹμογϡ ϘʔυΛ࡞੒͢Δ ,JCBOB ˞࣮͸͔͜͜ΒͰ͖͍ͯͳ͍

  37. ,JCBOBͷίϯςφʹೖͬͯɺμογϡϘʔυΛ௥Ճ ,JCBOBμογϡϘʔυΛ௥Ճ HJUDMPOFHJU!HJUIVCDPNFMBTUJDCFBUT EBTICPBSETHJU DECFBUTEBTICPBSET MPBETI

  38. αΠτΛݟʹߦ͘ͱɺ 1BDLFUCFBU͕&MBTUJDTFBSDIʹ σʔλΛ౤͛ͯ,JCBOBͰݟΕΔ ͨͿΜ

  39. ".*.050 "NB[PO&MBTUJDTFBSDI4FSWJDFͰ#FBUTΛѻͬͯΈΔ81,ZPUP
 IUUQTXQLZPUPOFUVTFCFBUTJOBNJNPUPBOEBFT

  40. ͔͜͜ΒͰ͖Δ͜ͱ

  41. w දࣔ͢Δ಺༰Λ੔ཧ ϑΟϧλϦϯάͱ͔  w .FUSJDCFBUΛಋೖͨ͠Βαʔόʔͷ
 ύϑΥʔϚϯε΋औಘͰ͖Δ w ,JCBOBͷμογϡϘʔυͷ৘ใΛ1%'ʹͯ͠ ఆظతʹϝʔϧͰૹΔ

  42. ࠓճͳͥͩΊͩͬͨͷ͔

  43. w %PDLFS)VCͷྑ͍Πϝʔδ୳͢ͷ
 ೉͔ͬͨ͠ όʔδϣϯɺ૬ੑ  w ,JCBOBͷίϯςφʹHJUͱ͔XHFUͱ͔ೖͬͯ ͳ͔ͬͨμογϡϘʔυೖΕΒΕͳ͍ w 1BDLFUCFBUͷಈ࡞֬ೝ

    σʔλͷૹ৴ ͕
 Ͱ͖͍ͯΔ͔͕෼͔Βͳ͔ͬͨ w ؾ߹͍͕଍Γͳ͍
  44. ΈΜͳ΋΍ͬͯڭ͑ͯ