$30 off During Our Annual Pro Sale. View Details »

Shifterを使ってみて感じた108の良かったこと悪かったこと

 Shifterを使ってみて感じた108の良かったこと悪かったこと

Shiftup! JP_Getshifter キックオフイベント
で話したスライドです

https://eventregist.com/e/o4QzwVGLsvSH?fbclid=IwAR0ixTw2l67_4vi3M5FoC_gB81pBo6ZAFVcLdL1iNkIIi0qPzH7iI3vcpaE

Takuya Tachibana

December 20, 2018
Tweet

More Decks by Takuya Tachibana

Other Decks in Technology

Transcript

  1. ໊ࣾ גࣜձࣾϔϓλΰϯ IFQUBHPOJOD ୅ද ཱՖ୓໵ ڌ఺ ੨৿ݝࡾ୔ࢢɺٶ৓ݝઋ୆ࢢ ૑ۀ ೥݄̓ ࣄۀ

    Ϋϥ΢υಋೖʹؔ͢ΔίϯαϧςΟϯά Ϋϥ΢υͷߏஙอकӡ༻ Ϋϥ΢υωΠςΟϒͳ։ൃ ࢿ֨ "1/ίϯαϧςΟϯάύʔτφʔ ϕΨϧλεϙϯαʔ ձࣾ঺հ
  2. 1.άοζ͕͓͠ΌΕ 2.μογϡϘʔυ͕εϚϗରԠ͍ͯ͠Δ 3.Ͱ΋εϚϗchromeͰμογϡϘʔυʹ͏·͘ϩάΠϯͰ͖ͳ͍ 4.Ϛωʔδυ 5.ίϯςϯπʹूத 6.উखʹεέʔϧ 7.੥ٻ໌ࡉ͕Kobeshi cityͱ͍͏Ṗ 8.StripeͰ҆৺ɾ҆શ 9.awsʹҙࣝ͠ͳͯ͘΋awsͷϝϦοτΛڗडɻந৅Խɻ

    10.api͕͋ΔͷͰ৭ʑͰ͖ͦ͏ 11.ಋೖ͠΍͍͢Ձ֨ઃఆ 12.ਐԽ͕ૣ͍2೥ͰϦϦʔε໿40ճ 13.ver1ͩͱىಈ͕஗͔ͬͨ 14.ver1ͩͱμογϡϘʔυ͕ͪΐͬͱ஗͔ͬͨ 15.ϓϩδΣΫτΛෳ੡͍ͨ͠ 16.͏ͪͷαΠτ͸αʔόϨεͬͯݴ͑Δ 17.͏ͪͷαΠτ͸ίϯςφ࢖ͬͯΔͬͯݴ͑Δ 18.WordPressͷ׳Εͨը໘ɺΤσΟλͰهࣄ͕ॻ͚Δ 19.ϝσΟΞ؅ཧָ͕ 20.೔ຊൃͷαʔϏεͰԠԉͰ͖Δ 21.ϝϧϚΨ͕͍͍ 22.΋͏গ͠೔ຊޠ -> ͋ͷਓͨͪ͸೔ຊޠ΍Δؾͳͦ͞͏ͳͷͰΈΜͳͰϒϩάॻ͜͏ 23.organizationػೳ 24.ίϐʔ͍ͨ͠ 25.ӳޠۤखͳ೔ຊਓʹ঺հ͠ʹ͍͘ 26.উखʹ࠷৽όʔδϣϯʹΑΔෆ۩߹ΛϑΥϩʔͯ͠΄͍͠ 27.ϓϥάΠϯ͕࢖͑ͳ͍΋ͷ͕͋Δ 28.ىಈ͕ΊΜͲ͍͘͞ 29.։ൃձ͕ࣾී௨ͷWordPress࢖ΘͤΔͱౖΓग़͢ 30.੍࡞ձ͕ࣾจ۟ݴͬͯ͘ΔͷͰɺখլ͞Μ͕ग़͖ͯͯͦΕΛଧͪෛ͔͢αʔϏε͕ϦϦʔε͞ΕͨΒ࢖͍͍ͨ 31.ಋೖޮՌ͕Θ͔Γʹ͍͘(Ͳͷ͘Β͍߈ܸ͕͋Δ͔ͱ͔Λදࣔʁ) 32.ແྉϓϥϯͰ࢝ΊΒΕΔ 33.WP؀ڥ͕ͪΐͬͺ΍ͰखʹೖΔ 34.ެ։ͨ͠ίϯςϯπͷόʔδϣϯ؅ཧ 35.աڈͷίϯςϯπʹ͙͢໭ͤΔ 36.ΩϟογϡपΓ΋ؾʹ͠ͳ͍͍ͯ͘ 37.Ϋʔϙϯ͘ΕΔ 38.ϋοΧʔͱͷରઓ͕ͳ͘ͳͬͨ 39.υΩϡϝϯτ͕͔ͬ͠Γ͍ͯ͠Δ 40.Ͱ΋ͨ·ʹͳ͍ϖʔδ͕͋Δ 41.੩తԽͷ࣌ʹwp-admin΍readme.htmlΛফͯ͘͠ΕΔ 42.͍͚ͯΔػೳΛϦϦʔεͯ͘͠Δ(WP΋Πϯϑϥ΋) 43.ίϯςϯπ͕μ΢ϯϩʔυͰ͖Δʂ 44.ΤϥʔϖʔδͰήʔϜ͕Ͱ͖Δ https://www.getshifter.io/blog/wordpress-now-50-times-faster-shifter/ 45.̏ͭҎ্ͷΩʔೖྗΛೝࣝͯ͘͠Εͳ͍ 46.είΞػೳ͕΄͍͠ 47.Πϯϑϥ΋ࣗಈΞοϓσʔτ͍ͯ͠ΔͬΆ͍ 48.ΞΫηεϩά΍Τϥʔϖʔδ΍Ϩʔτ͕ݟΕΔͱ͍͍͔΋ 49.ɾwordpress΁ͷ߈ܸ౳ͷରࡦɺ؅ཧΛ͠ͳ͍͍ͯ͘ɻ 50.ɾΠϯϑϥͷ؅ཧ͕ෆཁ(phpͷόʔδϣϯʢphpͷηΩϡϦςΟʣΛؾʹ͠ͳ͍͍ͯ͘ɻ 51.ɾܖ໿༰ྔ಺ͳΒαΠτෳ਺࣋ͯΔ 52.ɾsslʹରԠ͍ͯ͠Δ 53.ɾsslͷ؅ཧෆཁ 54.ɾϢʔβ͕؅ཧ͢Δ಺༰͕ݮͬͨ 55.wordpressΛىಈதɺผ࡞ۀ͕ೖͬͯwordpressΛ৮Βͳ͍͕࣌ؒͰ͖Δͱɺ͍ͭͷؒʹ͔ఀࢭ͍ͯ͠Δɻʢྑ͍఺͚ͩͲ࠷ॳڻ͍ͨʣ 56.ଟݴޠԽରԠ͕େมͩͬͨ 57.ϖʔδެ։ͷεέδϡʔϦϯά͕Ͱ͖ͳ͍ 58.FAQ͕͔ͬ͠Γ͍ͯ͠Δ 59.ϩάΠϯཤྺ͕͋Ε͹خ͍͠ 60.ύεϫʔυ๨Εͯ΋ϩάΠϯͰ͖Δػೳ͢͹Β͍͠ 61.ϓϥάΠϯ΋ແޮԽͯ͠ىಈͯ͘͠ΕΔػೳ͕͋ΔͷͰ੾Γ෼͚͠΍͍͢ 62.αϙʔτͷରԠ͕ૣ͍ 63.αϙʔτͷରԠ͕೔ຊޠ 64.αϙʔτ͕͍͢͝ஸೡ 65.ϑΟʔυόοΫ͢Δͱ௚ͯ͘͠ΕΔ 66.local༻ͷdockerΠϝʔδ͕ެ։͞Ε͍ͯΔ https://github.com/getshifter/shifter-local 67.ΞʔςΟϑΝΫτͷϓϨϏϡʔ͕͍͍ 68.͜ͷք۾ͩͱ͍͚ͯΔ৘ใ͕खʹೖΓͦ͏ 69.ද͕ࣔ଎͍ 70.σϓϩΠ࣌ͷ௨஌ϝʔϧoffʹ͍ͨ͠ 71.Ή͠Ζslackʹ௨஌Λඈ͹͍ͨ͠ 72.ಛఆύε͚ͩผͷΦϦδϯʹඈ͹͍ͨ͠ɻ 73.αΠτຖͷసૹྔͷද͕͓͔͍ࣔ͠ 74.αΠτͷ࡞੒೔Λද͍ࣔͨ͠(ରԠͯ͘͠Εͨ) 75.ݹ͍όʔδϣϯͷWPͰىಈ͍ͨ͠ 76.Ҡઃલͷ؀ڥͰCloudFrontΛ࢖͍ͬͯΔͱ໘౗(ShifterʹݶΒ͚ͣͩͲ 77.೥ׂؒҾ͕͋Δ 78.αΠτຖͷ౷ܭ৘ใ͕ҰཡͰݟΕΔͱخ͍͠ 79.౷ܭ৘ใ͕࣌ܥྻͰݟΕΔͱخ͍͠ 80.Ͳ͜Ͱ༰ྔΛ࢖͍ͬͯΔͷ͔Θ͔Δͱخ͍͠ 81.WPͷύεϫʔυ؅ཧػೳ͕͋Δͱخ͍͠ 82.http2ରԠ 83.μογϡϘʔυʹϝϞػೳ͕͋Δͱ͍͍ 84.αΠτຖʹϝϞػೳ͕͋Δͱ͍͍ 85.̎FA͕͋Δ 86.ແ஡ৼΓ͕དྷΔස౓͕૿͑ͨ 87.໰͍߹ΘͤϑΥʔϜʹࠔͬͨ 88.Ϗʔϧʹৄ͘͠ͳΕΔ 89.࢖͑ΔϓϥάΠϯϦετ͕͋Δͱخ͍͠ 90.ΞʔΩςΫνϟ͕ษڧʹͳΔ 91.ٯʹແବͳϓϥάΠϯ͕ݮͬͯߏ੒͕γϯϓϧʹͳΔɻγϯϓϧΠζϕετɻ 92.Ͳ͏͍͏؀ڥͰಈ͍͍ͯΔͷ͔μογϡϘʔυʹද͕ࣔ͋Δͱخ͍͠ʢݴޠ΍WPόʔδϣϯʣ 93.ఆֹͰ࢖͑Δ 94.route53΋μογϡϘʔυ࿈ܞͰ͖Ε͹خ͍͠ 95.ACMͷDNSೝূରԠ 96.Artifactsͷอଘੈ୅਺ͷઃఆ 97.ΧφϦΞϦϦʔεػೳ 98.Τοδ 99.αΠδϯάෆཁ 100.μογϡϘʔυͷଟݴޠԽ 101.ΞʔςΟΞΫτͷϓϨϏϡʔͷදࣔظؒΛ΋͏গ͠௕͘ 102.༰ྔΦʔόʔ࣌ͷΞϥʔϜػೳ 103.΋ͱ΋ͱStaticPress S3Λ࢖ͬͯͯ҆ఆ͠ͳ͍෦෼͕͋ͬͨΜͰɺ͕ͦ͜ղফͨ͠ͷ͸͋Γ͕͍ͨͰ͢Ͷɻ 104.σϓϩΠཤྺ͕࢒ΔͷͰόοΫσʔτ͕༰қͳͷ͸҆৺ײ͍͍͋ͬͯͰ͢ɻ 105.࠷ॳ͔ΒS3ӡ༻ͳͷͰɺWPམͪΔ͔Βେมతͳܦݧ͸ͳ͍Ͱ͢ɻ 106.WPΛ্ཱͪ͛ͬͺʹ͠ͳ͍͍ͯ͘ͷͰɺηΩϡϦςΟΛؾʹ͠ͳ͍͍ͯ͘ͱ͜Ζɻ 107.੺௩͞Μ͕ͪΌΜͱ࢓ࣄΛ͢ΔΑ͏ʹͳͬͨ 108.੺௩͞Μͷ஄ນ͕͍͢͝
  3. 1.άοζ͕͓͠ΌΕ 2.μογϡϘʔυ͕εϚϗରԠ͍ͯ͠Δ 3.Ͱ΋εϚϗchromeͰμογϡϘʔυʹ͏·͘ϩάΠϯͰ͖ͳ͍ 4.Ϛωʔδυ 5.ίϯςϯπʹूத 6.উखʹεέʔϧ 7.੥ٻ໌ࡉ͕Kobeshi cityͱ͍͏Ṗ 8.StripeͰ҆৺ɾ҆શ 9.awsʹҙࣝ͠ͳͯ͘΋awsͷϝϦοτΛڗडɻந৅Խɻ

    10.api͕͋ΔͷͰ৭ʑͰ͖ͦ͏ 11.ಋೖ͠΍͍͢Ձ֨ઃఆ 12.ਐԽ͕ૣ͍2೥ͰϦϦʔε໿40ճ 13.ver1ͩͱىಈ͕஗͔ͬͨ 14.ver1ͩͱμογϡϘʔυ͕ͪΐͬͱ஗͔ͬͨ 15.ϓϩδΣΫτΛෳ੡͍ͨ͠ 16.͏ͪͷαΠτ͸αʔόϨεͬͯݴ͑Δ 17.͏ͪͷαΠτ͸ίϯςφ࢖ͬͯΔͬͯݴ͑Δ 18.WordPressͷ׳Εͨը໘ɺΤσΟλͰهࣄ͕ॻ͚Δ 19.ϝσΟΞ؅ཧָ͕ 20.೔ຊൃͷαʔϏεͰԠԉͰ͖Δ 21.ϝϧϚΨ͕͍͍ 22.΋͏গ͠೔ຊޠ -> ͋ͷਓͨͪ͸೔ຊޠ΍Δؾͳͦ͞͏ͳͷͰΈΜͳͰϒϩάॻ͜͏ 23.organizationػೳ 24.ίϐʔ͍ͨ͠ 25.ӳޠۤखͳ೔ຊਓʹ঺հ͠ʹ͍͘ 26.উखʹ࠷৽όʔδϣϯʹΑΔෆ۩߹ΛϑΥϩʔͯ͠΄͍͠ 27.ϓϥάΠϯ͕࢖͑ͳ͍΋ͷ͕͋Δ 28.ىಈ͕ΊΜͲ͍͘͞ 29.։ൃձ͕ࣾී௨ͷWordPress࢖ΘͤΔͱౖΓग़͢ 30.੍࡞ձ͕ࣾจ۟ݴͬͯ͘ΔͷͰɺখլ͞Μ͕ग़͖ͯͯͦΕΛଧͪෛ͔͢αʔϏε͕ϦϦʔε͞ΕͨΒ࢖͍͍ͨ 31.ಋೖޮՌ͕Θ͔Γʹ͍͘(Ͳͷ͘Β͍߈ܸ͕͋Δ͔ͱ͔Λදࣔʁ) 32.ແྉϓϥϯͰ࢝ΊΒΕΔ 33.WP؀ڥ͕ͪΐͬͺ΍ͰखʹೖΔ 34.ެ։ͨ͠ίϯςϯπͷόʔδϣϯ؅ཧ 35.աڈͷίϯςϯπʹ͙͢໭ͤΔ 36.ΩϟογϡपΓ΋ؾʹ͠ͳ͍͍ͯ͘ 37.Ϋʔϙϯ͘ΕΔ 38.ϋοΧʔͱͷରઓ͕ͳ͘ͳͬͨ 39.υΩϡϝϯτ͕͔ͬ͠Γ͍ͯ͠Δ 40.Ͱ΋ͨ·ʹͳ͍ϖʔδ͕͋Δ 41.੩తԽͷ࣌ʹwp-admin΍readme.htmlΛফͯ͘͠ΕΔ 42.͍͚ͯΔػೳΛϦϦʔεͯ͘͠Δ(WP΋Πϯϑϥ΋) 43.ίϯςϯπ͕μ΢ϯϩʔυͰ͖Δʂ 44.ΤϥʔϖʔδͰήʔϜ͕Ͱ͖Δ https://www.getshifter.io/blog/wordpress-now-50-times-faster-shifter/ 45.̏ͭҎ্ͷΩʔೖྗΛೝࣝͯ͘͠Εͳ͍ 46.είΞػೳ͕΄͍͠ 47.Πϯϑϥ΋ࣗಈΞοϓσʔτ͍ͯ͠ΔͬΆ͍ 48.ΞΫηεϩά΍Τϥʔϖʔδ΍Ϩʔτ͕ݟΕΔͱ͍͍͔΋ 49.ɾwordpress΁ͷ߈ܸ౳ͷରࡦɺ؅ཧΛ͠ͳ͍͍ͯ͘ɻ 50.ɾΠϯϑϥͷ؅ཧ͕ෆཁ(phpͷόʔδϣϯʢphpͷηΩϡϦςΟʣΛؾʹ͠ͳ͍͍ͯ͘ɻ 51.ɾܖ໿༰ྔ಺ͳΒαΠτෳ਺࣋ͯΔ 52.ɾsslʹରԠ͍ͯ͠Δ 53.ɾsslͷ؅ཧෆཁ 54.ɾϢʔβ͕؅ཧ͢Δ಺༰͕ݮͬͨ 55.wordpressΛىಈதɺผ࡞ۀ͕ೖͬͯwordpressΛ৮Βͳ͍͕࣌ؒͰ͖Δͱɺ͍ͭͷؒʹ͔ఀࢭ͍ͯ͠Δɻʢྑ͍఺͚ͩͲ࠷ॳڻ͍ͨʣ 56.ଟݴޠԽରԠ͕େมͩͬͨ 57.ϖʔδެ։ͷεέδϡʔϦϯά͕Ͱ͖ͳ͍ 58.FAQ͕͔ͬ͠Γ͍ͯ͠Δ 59.ϩάΠϯཤྺ͕͋Ε͹خ͍͠ 60.ύεϫʔυ๨Εͯ΋ϩάΠϯͰ͖Δػೳ͢͹Β͍͠ 61.ϓϥάΠϯ΋ແޮԽͯ͠ىಈͯ͘͠ΕΔػೳ͕͋ΔͷͰ੾Γ෼͚͠΍͍͢ 62.αϙʔτͷରԠ͕ૣ͍ 63.αϙʔτͷରԠ͕೔ຊޠ 64.αϙʔτ͕͍͢͝ஸೡ 65.ϑΟʔυόοΫ͢Δͱ௚ͯ͘͠ΕΔ 66.local༻ͷdockerΠϝʔδ͕ެ։͞Ε͍ͯΔ https://github.com/getshifter/shifter-local 67.ΞʔςΟϑΝΫτͷϓϨϏϡʔ͕͍͍ 68.͜ͷք۾ͩͱ͍͚ͯΔ৘ใ͕खʹೖΓͦ͏ 69.ද͕ࣔ଎͍ 70.σϓϩΠ࣌ͷ௨஌ϝʔϧoffʹ͍ͨ͠ 71.Ή͠Ζslackʹ௨஌Λඈ͹͍ͨ͠ 72.ಛఆύε͚ͩผͷΦϦδϯʹඈ͹͍ͨ͠ɻ 73.αΠτຖͷసૹྔͷද͕͓͔͍ࣔ͠ 74.αΠτͷ࡞੒೔Λද͍ࣔͨ͠(ରԠͯ͘͠Εͨ) 75.ݹ͍όʔδϣϯͷWPͰىಈ͍ͨ͠ 76.Ҡઃલͷ؀ڥͰCloudFrontΛ࢖͍ͬͯΔͱ໘౗(ShifterʹݶΒ͚ͣͩͲ 77.೥ׂؒҾ͕͋Δ 78.αΠτຖͷ౷ܭ৘ใ͕ҰཡͰݟΕΔͱخ͍͠ 79.౷ܭ৘ใ͕࣌ܥྻͰݟΕΔͱخ͍͠ 80.Ͳ͜Ͱ༰ྔΛ࢖͍ͬͯΔͷ͔Θ͔Δͱخ͍͠ 81.WPͷύεϫʔυ؅ཧػೳ͕͋Δͱخ͍͠ 82.http2ରԠ 83.μογϡϘʔυʹϝϞػೳ͕͋Δͱ͍͍ 84.αΠτຖʹϝϞػೳ͕͋Δͱ͍͍ 85.̎FA͕͋Δ 86.ແ஡ৼΓ͕དྷΔස౓͕૿͑ͨ 87.໰͍߹ΘͤϑΥʔϜʹࠔͬͨ 88.Ϗʔϧʹৄ͘͠ͳΕΔ 89.࢖͑ΔϓϥάΠϯϦετ͕͋Δͱخ͍͠ 90.ΞʔΩςΫνϟ͕ษڧʹͳΔ 91.ٯʹແବͳϓϥάΠϯ͕ݮͬͯߏ੒͕γϯϓϧʹͳΔɻγϯϓϧΠζϕετɻ 92.Ͳ͏͍͏؀ڥͰಈ͍͍ͯΔͷ͔μογϡϘʔυʹද͕ࣔ͋Δͱخ͍͠ʢݴޠ΍WPόʔδϣϯʣ 93.ఆֹͰ࢖͑Δ 94.route53΋μογϡϘʔυ࿈ܞͰ͖Ε͹خ͍͠ 95.ACMͷDNSೝূରԠ 96.Artifactsͷอଘੈ୅਺ͷઃఆ 97.ΧφϦΞϦϦʔεػೳ 98.Τοδ 99.αΠδϯάෆཁ 100.μογϡϘʔυͷଟݴޠԽ 101.ΞʔςΟΞΫτͷϓϨϏϡʔͷදࣔظؒΛ΋͏গ͠௕͘ 102.༰ྔΦʔόʔ࣌ͷΞϥʔϜػೳ 103.΋ͱ΋ͱStaticPress S3Λ࢖ͬͯͯ҆ఆ͠ͳ͍෦෼͕͋ͬͨΜͰɺ͕ͦ͜ղফͨ͠ͷ͸͋Γ͕͍ͨͰ͢Ͷɻ 104.σϓϩΠཤྺ͕࢒ΔͷͰόοΫσʔτ͕༰қͳͷ͸҆৺ײ͍͍͋ͬͯͰ͢ɻ 105.࠷ॳ͔ΒS3ӡ༻ͳͷͰɺWPམͪΔ͔Βେมతͳܦݧ͸ͳ͍Ͱ͢ɻ 106.WPΛ্ཱͪ͛ͬͺʹ͠ͳ͍͍ͯ͘ͷͰɺηΩϡϦςΟΛؾʹ͠ͳ͍͍ͯ͘ͱ͜Ζɻ 107.੺௩͞Μ͕ͪΌΜͱ࢓ࣄΛ͢ΔΑ͏ʹͳͬͨ 108.੺௩͞Μͷ஄ນ͕͍͢͝ 
  4. ௥Ճͯ͠΄͍͠ػೳ SPVUF΋μογϡϘʔυ࿈ܞͰ͖Ε͹خ͍͠ "$.ͷ%/4ೝূରԠ "SUJGBDUTͷอଘੈ୅਺ͷઃఆ ΧφϦΞϦϦʔεػೳ -BNCEB&EHFରԠ μογϡϘʔυͷଟݴޠԽ ίϯςφͷىಈ࣌ؒͷΧελϚΠζ αΠτຖͷ౷ܭ৘ใ͕ҰཡͰݟΕΔͱخ͍͠ ౷ܭ৘ใ͕࣌ܥྻͰݟΕΔͱخ͍͠

    ಛఆύε͚ͩผͷΦϦδϯʹඈ͹͍ͨ͠ɻ Ͳ͜Ͱ༰ྔΛ࢖͍ͬͯΔͷ͔Θ͔Δͱخ͍͠ 81ͷύεϫʔυ؅ཧػೳ͕͋Δͱخ͍͠ αΠτຖͷసૹྔͷද͕͓͔͍ࣔ͠ؾ͕͢Δ ΞΫηεϩά΍ΤϥʔϨʔτͷදࣔ ݹ͍όʔδϣϯͷ81Ͱىಈ͍ͨ͠ લݴͬͨΒౖΒΕͨ