モブプロはいいぞ

 モブプロはいいぞ

F075c5dfe92334b5031d4da5dc0c9251?s=128

Yuichi Sugiyama

June 26, 2019
Tweet

Transcript

  1. Ϟϒϓϩ͸͍͍ͧ Cybozu ਿࢁ ༞Ұ @oogFranz

  2. Who am I • ਿࢁ ༞Ұ @oogFranz • αΠϘ΢ζ5೥໨ΤϯδχΞ •

    େاۀ޲͚άϧʔϓ΢ΣΞGaroonΛ࡞ͬͯΔʢPHP 7.2) • ෳۀδϟζϛϡʔδγϟϯ@MASHݭָஂ
  3. • PG/QAࠞ߹εΫϥϜ։ൃνʔϜ • ϓϩάϥϛϯάಘҙͳਓ • ςετઃܭ͕ಘҙͳਓ νʔϜฤ੒ 1( 1( 1(

    2" 2"
  4. ҎલͷλεΫͷਐΊํ(ྫ) λεΫ" ࣮૷ λεΫA λεΫB λεΫC λεΫ" ࣮૷ λεΫ# ࣮૷

    λεΫ" ςετ λεΫ# ςετ λεΫ$ ࣮૷ λεΫ$ ςετ 1( 1( 1( 2" 2"
  5. ҎલͷλεΫͷਐΊํ(ྫ) λεΫ" ࣮૷ λεΫA λεΫB λεΫC λεΫ" ࣮૷ λεΫ# ࣮૷

    λεΫ" ςετ λεΫ# ςετ λεΫ$ ࣮૷ λεΫ$ ςετ 1( 1( 1( 2" 2"
  6. ҎલͷλεΫͷਐΊํ(ྫ) λεΫ" ࣮૷ λεΫA λεΫB λεΫC λεΫ" ࣮૷ λεΫ# ࣮૷

    λεΫ" ςετ λεΫ# ςετ λεΫ$ ࣮૷ λεΫ$ ςετ 1( 1( 1( 2" 2" ࠷ߴͷฒྻ౓ͩʂ
  7. ͲΜͳ෩ʹਐΉͷ͔ λεΫ" ࣮૷ λεΫ" ࣮૷ ΅͘ 1( λεΫ# ࣮૷ 1(

    ϨϏϡʔ͓ئ͍͠·͢ʂ
  8. λεΫ" ࣮૷ λεΫ" ࣮૷ ΅͘ 1( λεΫ# ࣮૷ 1( ϨϏϡʔ͓ئ͍͠·͢ʂ

    ࠓ΍ͬͯΔ࣮૷ऴΘͬͨΒ ϨϏϡʔ͠·͢Ͷʂ ͲΜͳ෩ʹਐΉͷ͔
  9. λεΫ$ ࣮૷ λεΫ" ࣮૷ ΅͘ 1( λεΫ# ࣮૷ 1( ͦΕ·ͰλεΫC΍Ζʂ

    ࠓ΍ͬͯΔ࣮૷ऴΘͬͨΒ ϨϏϡʔ͠·͢Ͷʂ λεΫ" ϨϏϡʔ ͲΜͳ෩ʹਐΉͷ͔
  10. λεΫ$ ࣮૷ ΅͘ 1( λεΫ# ࣮૷ 1( ࣮૷2ऴΘ͔ͬͨΒ ϨϏϡʔΑΖ͘͠ʂ λεΫ"

    ϨϏϡʔ λεΫ" ϨϏϡʔ ࣮૷1ϨϏϡʔ͠·͢Ͷʂ ͲΜͳ෩ʹਐΉͷ͔
  11. ࢝·ΔϨϏϡʔ߹ઓ λεΫ$ ࣮૷ ΅͘ 1( λεΫ# ࣮૷ 1( λεΫ" ϨϏϡʔ

    λεΫ" ϨϏϡʔ ࣮૷1Ͱɺ˓˓ͱ××௚͍ͯͩ͘͠͞ ࣮૷1ͱ࣮૷2Ͱ
 ༳Ε͕͋ΔΜͰ͚͢Ͳɺ
 Ͳ͏͠·͠ΐ͏ɻɻɻʁ ࠓճ͸΋͏ॻ͍ͯ͠·ͬͨͷͰ ͠ΐ͏͕ͳ͍Ͱ͕͢ɺ ࣮૷1͸ผͷઃܭͷํ͕
 ྑ͔ͬͨͰ͢Ͷ
  12. ࢝·ΔϨϏϡʔ߹ઓ λεΫ$ ࣮૷ ΅͘ 1( λεΫ# ࣮૷ 1( λεΫ" ϨϏϡʔ

    λεΫ" ϨϏϡʔ ࣮૷1Ͱɺ˓˓ͱ××௚͍ͯͩ͘͠͞ ࠓճ͸΋͏ॻ͍ͯ͠·ͬͨͷͰ ͠ΐ͏͕ͳ͍Ͱ͕͢ɺ ࣮૷1͸ผͷઃܭͷํ͕
 ྑ͔ͬͨͰ͢Ͷ ޙ͔ΒΘ͔ΔೝࣝͷζϨ ࣮૷1ͱ࣮૷2Ͱ
 ༳Ε͕͋ΔΜͰ͚͢Ͳɺ
 Ͳ͏͠·͠ΐ͏ɻɻɻʁ
  13. ࢝·ΔϨϏϡʔ߹ઓ λεΫ$ ࣮૷ ΅͘ 1( λεΫ# ࣮૷ 1( λεΫ" ϨϏϡʔ

    λεΫ" ϨϏϡʔ ࣮૷1Ͱɺ˓˓ͱ××௚͍ͯͩ͘͠͞ খ͘͞ͳ͍αϯΫίετ ࠓճ͸΋͏ॻ͍ͯ͠·ͬͨͷͰ ͠ΐ͏͕ͳ͍Ͱ͕͢ɺ ࣮૷1͸ผͷઃܭͷํ͕
 ྑ͔ͬͨͰ͢Ͷ ࣮૷1ͱ࣮૷2Ͱ
 ༳Ε͕͋ΔΜͰ͚͢Ͳɺ
 Ͳ͏͠·͠ΐ͏ɻɻɻʁ
  14. ࢝·ΔϨϏϡʔ߹ઓ λεΫ$ ࣮૷ ΅͘ 1( λεΫ# ࣮૷ 1( λεΫ" ϨϏϡʔ

    λεΫ" ϨϏϡʔ ࣮૷1Ͱɺ˓˓ͱ××௚͍ͯͩ͘͠͞ ࠓճ͸΋͏ॻ͍ͯ͠·ͬͨͷͰ ͠ΐ͏͕ͳ͍Ͱ͕͢ɺ ࣮૷1͸ผͷઃܭͷํ͕
 ྑ͔ͬͨͰ͢Ͷ େ͖͍εΠονϯάίετ λεΫC్த·ͰਐΜͰ͚ͨͲɺ
 Ͳ͜·Ͱ΍͔ͬͨ๨Εͨɻɻɻ ࣮૷1ͱ࣮૷2Ͱ
 ༳Ε͕͋ΔΜͰ͚͢Ͳɺ
 Ͳ͏͠·͠ΐ͏ɻɻɻʁ
  15. ࢝·ΔϨϏϡʔ߹ઓ λεΫ$ ࣮૷ ΅͘ 1( λεΫ# ࣮૷ 1( λεΫ" ϨϏϡʔ

    λεΫ" ϨϏϡʔ ࣮૷1Ͱɺ˓˓ͱ××௚͍ͯͩ͘͠͞ ࠓճ͸΋͏ॻ͍ͯ͠·ͬͨͷͰ ͠ΐ͏͕ͳ͍Ͱ͕͢ɺ ࣮૷1͸ผͷઃܭͷํ͕
 ྑ͔ͬͨͰ͢Ͷ λεΫ͸ਐΉɺ͞ΕͲऴΘΒͣ ࣮૷1ͱ࣮૷2Ͱ
 ༳Ε͕͋ΔΜͰ͚͢Ͳɺ
 Ͳ͏͠·͠ΐ͏ɻɻɻʁ
  16. ͜͜Ͱ΋͏ҰਓͷPG ͕ݴ͍·ͨ͠ λεΫ$ ࣮૷ ΅͘ 1( λεΫ# ࣮૷ 1( λεΫ"

    ϨϏϡʔ λεΫ" ϨϏϡʔ
  17. ͜͜Ͱ΋͏ҰਓͷPG ͕ݴ͍·ͨ͠ λεΫ$ ࣮૷ ΅͘ 1( λεΫ# ࣮૷ 1( λεΫ"

    ϨϏϡʔ λεΫ" ϨϏϡʔ λεΫ#ͣͬͱҰਓͰ
 ΍͚ͬͯͨͲɺͲϋϚΓͯ͠Δ
 ॿ͚ͯ
  18. ͜͜Ͱ΋͏ҰਓͷPG ͕ݴ͍·ͨ͠ λεΫ$ ࣮૷ ΅͘ 1( λεΫ# ࣮૷ 1( λεΫ"

    ϨϏϡʔ λεΫ" ϨϏϡʔ λεΫ#ͣͬͱҰਓͰ
 ΍͚ͬͯͨͲɺͲϋϚΓͯ͠Δ
 ॿ͚ͯ ڞ༗͞Εͳ͍ϐϯν
  19. ਓ͕ؒϚϧνλεΫ͕ۤखͳΑ͏ʹɺ νʔϜ΋ϚϧνλεΫ͸ۤख

  20. ϞϒΛͨ͠ λεΫ" ࣮૷ λεΫA λεΫB λεΫC λεΫ" ࣮૷ λεΫ# ࣮૷

    λεΫ" ςετ λεΫ# ςετ λεΫ$ ࣮૷ λεΫ$ ςετ 1( 1( 1( 2" 2"
  21. ϞϒͰྑ͔ͬͨ͜ͱ • ΈΜͳͰҙࢥܾఆ͢ΔͷͰɺೝࣝͷζϨ͕΄΅0ʹ • ʮࠓճ͸ॻ͍ͪΌͬͨͷͰ͠ΐ͏͕ͳ͍Ͱ͕͢~ʯ
 ͱ͍͏ϨϏϡʔ͕ͳ͘ͳͬͨ • λεΫ͕Ұͭͣͭண࣮ʹऴΘΔΑ͏ʹͳΓɺ
 εΠονϯάίετ΋গͳ͘ͳͬͨ •

    ҰਓͰ΋ղܾࡦΛ஌͍ͬͯΕ͹͍͍ͷͰɺ
 ϋϚΔ͕࣌ؒݮͬͨ
  22. QAϝϯόʔͱϞϒ • ςετઃܭ࣌Ͱ͸ͳ͘ɺ
 ࣮૷࣌ʹ࢓༷ͷೝࣝ߹Θ͕ͤͰ͖Δ • ࢓༷ͷ͕࣮݀૷࣌ʹΘ͔Δ • ςετઃܭʹඞཁͳ৘ใڞ༗͕ઌʹͰ͖Δ • ςετ΋ϞϒͰ͢Δͱɺෆ۩߹ൃݟ͔Β


    վम·Ͱ͕ര଎
  23. ϞϒͰٯʹਏ͍͜ͱ • ΊͪΌͪ͘ΌർΕΔ • Ϟϒத͸ΞυϨφϦϯ͕ग़ͯΔ • ʮ͋ΕɺɺɺʁࠓԶԿ΋ͯ͠ͳ͘ͳ͍ʁʯ
 Έ͍ͨͳλΠϛϯά͕Ͱ͖Δ • ָ͍͠λεΫ͸ϞϒͰָ͠͞ഒ͕ͩɺ


    ਏ͍λεΫ͸ϞϒͰਏ͕͞ഒʹͳΔ
  24. ϞϒͰਐΊ͍ͯ͘ʹ͸ • ٳܜΛ͔ͬ͠ΓͱΔʢ1࣌ؒʹ10෼͘Β͍ʣ • ৔߹ʹΑͬͯ͸2ϥΠϯϞϒΛ͢Δ • ಺৬Λਪ঑͢Δ • ۜͷ஄ؙͰ͸ͳ͍ͷͰ
 ༻๏༻ྔΛकͬͯద੾ʹ࢖͍·͠ΐ͏

  25. ·ͱΊ • ਓ͕ؒϚϧνλεΫ͕ۤखͳΑ͏ʹɺ
 νʔϜ΋ϚϧνλεΫ͸ۤख • ೝࣝͷζϨɾαϯΫίετɾεΠονϯάί ετΛݮΒ͢ͷʹϞϒϓϩ͸໾ཱͭ • ۜͷ஄ؙͰ͸ͳ͍ͷͰ༻๏༻ྔΛकͬͯ࢖͍ ·͠ΐ͏ʂ