Upgrade to Pro — share decks privately, control downloads, hide ads and more …

モブプロはいいぞ

 モブプロはいいぞ

Yuichi Sugiyama

June 26, 2019
Tweet

More Decks by Yuichi Sugiyama

Other Decks in Technology

Transcript

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

    View full-size slide

  2. Who am I
    • ਿࢁ ༞Ұ @oogFranz
    • αΠϘ΢ζ5೥໨ΤϯδχΞ
    • େاۀ޲͚άϧʔϓ΢ΣΞGaroonΛ࡞ͬͯΔʢPHP 7.2)
    • ෳۀδϟζϛϡʔδγϟϯ@MASHݭָஂ

    View full-size slide

  3. • PG/QAࠞ߹εΫϥϜ։ൃνʔϜ
    • ϓϩάϥϛϯάಘҙͳਓ
    • ςετઃܭ͕ಘҙͳਓ
    νʔϜฤ੒
    1(
    1(
    1(
    2" 2"

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  6. ҎલͷλεΫͷਐΊํ(ྫ)
    λεΫ"
    ࣮૷
    λεΫA
    λεΫB
    λεΫC
    λεΫ"
    ࣮૷
    λεΫ#
    ࣮૷
    λεΫ"
    ςετ
    λεΫ#
    ςετ
    λεΫ$
    ࣮૷
    λεΫ$
    ςετ
    1( 1(
    1(
    2" 2"
    ࠷ߴͷฒྻ౓ͩʂ

    View full-size slide

  7. ͲΜͳ෩ʹਐΉͷ͔
    λεΫ"
    ࣮૷
    λεΫ"
    ࣮૷
    ΅͘
    1(
    λεΫ#
    ࣮૷
    1(
    ϨϏϡʔ͓ئ͍͠·͢ʂ

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  11. ࢝·ΔϨϏϡʔ߹ઓ
    λεΫ$
    ࣮૷
    ΅͘
    1(
    λεΫ#
    ࣮૷
    1(
    λεΫ"
    ϨϏϡʔ
    λεΫ"
    ϨϏϡʔ
    ࣮૷1Ͱɺ˓˓ͱ××௚͍ͯͩ͘͠͞
    ࣮૷1ͱ࣮૷2Ͱ

    ༳Ε͕͋ΔΜͰ͚͢Ͳɺ

    Ͳ͏͠·͠ΐ͏ɻɻɻʁ
    ࠓճ͸΋͏ॻ͍ͯ͠·ͬͨͷͰ
    ͠ΐ͏͕ͳ͍Ͱ͕͢ɺ
    ࣮૷1͸ผͷઃܭͷํ͕

    ྑ͔ͬͨͰ͢Ͷ

    View full-size slide

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

    ྑ͔ͬͨͰ͢Ͷ
    ޙ͔ΒΘ͔ΔೝࣝͷζϨ
    ࣮૷1ͱ࣮૷2Ͱ

    ༳Ε͕͋ΔΜͰ͚͢Ͳɺ

    Ͳ͏͠·͠ΐ͏ɻɻɻʁ

    View full-size slide

  13. ࢝·ΔϨϏϡʔ߹ઓ
    λεΫ$
    ࣮૷
    ΅͘
    1(
    λεΫ#
    ࣮૷
    1(
    λεΫ"
    ϨϏϡʔ
    λεΫ"
    ϨϏϡʔ
    ࣮૷1Ͱɺ˓˓ͱ××௚͍ͯͩ͘͠͞
    খ͘͞ͳ͍αϯΫίετ
    ࠓճ͸΋͏ॻ͍ͯ͠·ͬͨͷͰ
    ͠ΐ͏͕ͳ͍Ͱ͕͢ɺ
    ࣮૷1͸ผͷઃܭͷํ͕

    ྑ͔ͬͨͰ͢Ͷ
    ࣮૷1ͱ࣮૷2Ͱ

    ༳Ε͕͋ΔΜͰ͚͢Ͳɺ

    Ͳ͏͠·͠ΐ͏ɻɻɻʁ

    View full-size slide

  14. ࢝·ΔϨϏϡʔ߹ઓ
    λεΫ$
    ࣮૷
    ΅͘
    1(
    λεΫ#
    ࣮૷
    1(
    λεΫ"
    ϨϏϡʔ
    λεΫ"
    ϨϏϡʔ
    ࣮૷1Ͱɺ˓˓ͱ××௚͍ͯͩ͘͠͞
    ࠓճ͸΋͏ॻ͍ͯ͠·ͬͨͷͰ
    ͠ΐ͏͕ͳ͍Ͱ͕͢ɺ
    ࣮૷1͸ผͷઃܭͷํ͕

    ྑ͔ͬͨͰ͢Ͷ
    େ͖͍εΠονϯάίετ
    λεΫC్த·ͰਐΜͰ͚ͨͲɺ

    Ͳ͜·Ͱ΍͔ͬͨ๨Εͨɻɻɻ
    ࣮૷1ͱ࣮૷2Ͱ

    ༳Ε͕͋ΔΜͰ͚͢Ͳɺ

    Ͳ͏͠·͠ΐ͏ɻɻɻʁ

    View full-size slide

  15. ࢝·ΔϨϏϡʔ߹ઓ
    λεΫ$
    ࣮૷
    ΅͘
    1(
    λεΫ#
    ࣮૷
    1(
    λεΫ"
    ϨϏϡʔ
    λεΫ"
    ϨϏϡʔ
    ࣮૷1Ͱɺ˓˓ͱ××௚͍ͯͩ͘͠͞
    ࠓճ͸΋͏ॻ͍ͯ͠·ͬͨͷͰ
    ͠ΐ͏͕ͳ͍Ͱ͕͢ɺ
    ࣮૷1͸ผͷઃܭͷํ͕

    ྑ͔ͬͨͰ͢Ͷ
    λεΫ͸ਐΉɺ͞ΕͲऴΘΒͣ
    ࣮૷1ͱ࣮૷2Ͱ

    ༳Ε͕͋ΔΜͰ͚͢Ͳɺ

    Ͳ͏͠·͠ΐ͏ɻɻɻʁ

    View full-size slide

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

    View full-size slide

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

    ΍͚ͬͯͨͲɺͲϋϚΓͯ͠Δ

    ॿ͚ͯ

    View full-size slide

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

    ΍͚ͬͯͨͲɺͲϋϚΓͯ͠Δ

    ॿ͚ͯ
    ڞ༗͞Εͳ͍ϐϯν

    View full-size slide

  19. ਓ͕ؒϚϧνλεΫ͕ۤखͳΑ͏ʹɺ
    νʔϜ΋ϚϧνλεΫ͸ۤख

    View full-size slide

  20. ϞϒΛͨ͠
    λεΫ"
    ࣮૷
    λεΫA
    λεΫB
    λεΫC
    λεΫ"
    ࣮૷
    λεΫ#
    ࣮૷
    λεΫ"
    ςετ
    λεΫ#
    ςετ
    λεΫ$
    ࣮૷
    λεΫ$
    ςετ
    1( 1( 1(
    2" 2"

    View full-size slide

  21. ϞϒͰྑ͔ͬͨ͜ͱ
    • ΈΜͳͰҙࢥܾఆ͢ΔͷͰɺೝࣝͷζϨ͕΄΅0ʹ
    • ʮࠓճ͸ॻ͍ͪΌͬͨͷͰ͠ΐ͏͕ͳ͍Ͱ͕͢~ʯ

    ͱ͍͏ϨϏϡʔ͕ͳ͘ͳͬͨ
    • λεΫ͕Ұͭͣͭண࣮ʹऴΘΔΑ͏ʹͳΓɺ

    εΠονϯάίετ΋গͳ͘ͳͬͨ
    • ҰਓͰ΋ղܾࡦΛ஌͍ͬͯΕ͹͍͍ͷͰɺ

    ϋϚΔ͕࣌ؒݮͬͨ

    View full-size slide

  22. QAϝϯόʔͱϞϒ
    • ςετઃܭ࣌Ͱ͸ͳ͘ɺ

    ࣮૷࣌ʹ࢓༷ͷೝࣝ߹Θ͕ͤͰ͖Δ
    • ࢓༷ͷ͕࣮݀૷࣌ʹΘ͔Δ
    • ςετઃܭʹඞཁͳ৘ใڞ༗͕ઌʹͰ͖Δ
    • ςετ΋ϞϒͰ͢Δͱɺෆ۩߹ൃݟ͔Β

    վम·Ͱ͕ര଎

    View full-size slide

  23. ϞϒͰٯʹਏ͍͜ͱ
    • ΊͪΌͪ͘ΌർΕΔ
    • Ϟϒத͸ΞυϨφϦϯ͕ग़ͯΔ
    • ʮ͋ΕɺɺɺʁࠓԶԿ΋ͯ͠ͳ͘ͳ͍ʁʯ

    Έ͍ͨͳλΠϛϯά͕Ͱ͖Δ
    • ָ͍͠λεΫ͸ϞϒͰָ͠͞ഒ͕ͩɺ

    ਏ͍λεΫ͸ϞϒͰਏ͕͞ഒʹͳΔ

    View full-size slide

  24. ϞϒͰਐΊ͍ͯ͘ʹ͸
    • ٳܜΛ͔ͬ͠ΓͱΔʢ1࣌ؒʹ10෼͘Β͍ʣ
    • ৔߹ʹΑͬͯ͸2ϥΠϯϞϒΛ͢Δ
    • ಺৬Λਪ঑͢Δ
    • ۜͷ஄ؙͰ͸ͳ͍ͷͰ

    ༻๏༻ྔΛकͬͯద੾ʹ࢖͍·͠ΐ͏

    View full-size slide

  25. ·ͱΊ
    • ਓ͕ؒϚϧνλεΫ͕ۤखͳΑ͏ʹɺ

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

    View full-size slide