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

TokyoRubyKaigi10 know‐how

bash0C7
February 25, 2015

TokyoRubyKaigi10 know‐how

Ruby Business Users Conference2015
日本最大級の地域Ruby会議「東京Ruby会議10」開催から得た大規模技術カンファレンス開催の勘所
発表資料の公開版

bash0C7

February 25, 2015
Tweet

More Decks by bash0C7

Other Decks in Programming

Transcript

  1. ೔ຊ࠷େڃͷ஍Ҭ3VCZձٞ

    ʮ౦ژ3VCZձٞʯ։࠵͔Βಘͨ

    େن໛ٕज़ΧϯϑΝϨϯε։࠵ͷצॴ
    !CBTI$খࣳහ໌
    ެ։൛

    View full-size slide

  2. ࣗݾ঺հ
    w খࣳහ໌!CBTI$
    IUUQXXXBUNBSLJUDPKQBJUBSUJDMFTOFXTIUNM

    View full-size slide

  3. ίϯςΩετ
    w ඇӦར
    w ͷ΂ࢀՃऀ਺ඦਓʙ
    w εϙϯαʔ
    w ෳ਺೔
    w ϚϧντϥοΫ
    w ެืηογϣϯ
    w ΦϑΟγϟϧύʔςΟʔ
    w ϊϕϧςΟ഑෍

    View full-size slide

  4. ˔˔˔͚ͩ͋Ε͹

    ΧϯϑΝϨϯεΛ
    େن໛ʹ։࠵Ͱ͖Δ

    View full-size slide

  5. ΞδΣϯμ
    ౦ژ3VCZձٞͱ͸
    ։࠵Ϟνϕʔγϣϯ
    ։࠵ͷஈऔΓ
    ࠷େͷΞΫγσϯτ
    ։࠵Ͱ΋ͬͱ΋େࣄͳ΋ͷ

    View full-size slide

  6. ౦ژ3VCZձٞ

    ͱ͸

    View full-size slide

  7. ஍Ҭ3VCZձٞ

    ϓϩδΣΫτͱ͸

    View full-size slide

  8. IUUQSFHJPOBMSVCZLBJHJPSH

    View full-size slide

  9. IUUQLBLVUBOJDPNIUNMQ

    View full-size slide

  10. 4BU

    5PLZV3VCZձٞ
    4BU
    ौ୩
    3VCZձٞ
    4BU
    େߐ
    ށ3VCZձٞ
    4BU

    5PLZV3VCZձٞ
    4BU
    দߐ
    3VCZձٞ
    4BU
    ԭೄ
    3VCZձٞ
    4BU
    ࡳຈ
    ࢢதԝ۠3VCZձٞ
    4BU
    ͱͪ
    ͗3VCZձٞ
    4BU
    ؔ੢
    3VCZձٞ
    4BU
    Ԭࢁ
    3VCZձٞ
    4BU

    5PLZV3VCZձٞ
    4VO
    ۝
    भ3VCZձٞ
    4BU
    େߐ
    ށ3VCZձٞ
    4BU
    ͙Μ
    ·3VCZձٞ
    4VO
    ʙ
    .PO
    ౦ژ3VCZ
    ձٞ
    4BU
    ෱Ԭ
    3VCZձٞ
    'SJ
    ʙ
    4VO
    ࡳຈ3VCZձٞ

    4BU
    দߐ
    3VCZձٞ
    4VO

    5PLZV3VCZձٞ
    4BU
    Ԭࢁ
    3VCZձٞ
    4BU
    Έͳ
    ͱ3VCZձٞ
    5VF

    ߐށ3VCZձٞ
    4BU
    ͱͪ
    ͗3VCZձٞ
    'SJ
    ʙ
    4BU
    ؔ੢3VCZձٞ

    4BU

    5PLZV3VCZձٞ
    4VO

    ߐ3VCZձٞ
    4VO

    5PLZV3VCZձٞ
    4VO

    ߐށ3VCZձٞ
    4BU
    ໊ݹ
    ԰3VCZձٞ
    4BU
    ͱͪ
    ͗3VCZձٞ
    'SJ
    ౦ژ
    3VCZձٞ
    4BU
    ࡳຈ
    3VCZձٞ
    'SJ
    ʙ
    4BU
    ؔ੢3VCZձٞ

    4BU

    5PLZV3VCZձٞ
    4BU
    ઋ୆
    3VCZձٞ
    4VO

    ژ3VCZձٞ
    4BU
    দߐ
    3VCZձٞ
    4BU
    ࡳຈ
    3VCZձٞ
    4VO

    5PLZV3VCZձٞ
    'SJ
    ʙ
    4BU
    ؔ੢3VCZձٞ

    4BU
    ͱͪ
    ͗3VCZձٞ
    4BU
    ໊ݹ
    ԰3VCZձٞ
    8FE
    ޿
    ౡ3VCZձٞ
    4BU
    ͱͪ
    ͗3VCZձٞ
    .PO

    ߐ3VCZձٞ
    4BU
    ઋ୆
    3VCZձٞ
    4VO
    ۝
    भ3VCZձٞ
    'SJ
    ʙ
    4BU
    ؔ੢3VCZձٞ

    4BU
    ࡳຈ
    3VCZձٞ
    5IV

    ژ3VCZձٞ

    View full-size slide

  11. ౦ژ3VCZձٞ

    View full-size slide

  12. IUUQUPLZPSVCZLBJHJJOGP

    View full-size slide

  13. IUUQXXXNJIBNBIBMMKQNBJOIBMMIUNM

    View full-size slide

  14. IUUQNBHB[JOFSVCZJTUOFU
    5PLZP3VCZ,BJHJ3FQPSU@TU

    View full-size slide

  15. ։࠵Ϟνϕʔγϣϯ

    View full-size slide

  16. ελοϑ.-ΑΓ
    ౦ژͷ৔߹͸ˣ

    ʮ΋ͬͱձٞΛɺ΋ͬͱର࿩Λɺ΋ͬͱ௅ઓΛʯΛςʔϚͱ͠ɺ
    ΑΓଟ͘ͷ3VCZJTU͕͠ΓࠐΈ͢Δ͜ͱͳ͘ɺ
    ΞΫςΟϒʹΠϕϯτ΍ू·ΓʹࢀՃͰ͖ΔΑ͏ͳ͖͔͚ͬͱ
    ͳΔ΂͘ɺࢀՃऀಉ࢜ͷ࿩͠߹͍Λத৺ʹਾ͑ͯɺ
    ஌ࣝͷ఻ୡɺจ຺ͷڞ༗ɺ໰୊ͷղܾͳͲͱ͍ͬͨ͜ͱΛاਤ
    ͍ͯ͠·͢ɻ

    View full-size slide

  17. ελοϑ.-ΑΓ
    ࠓճ͸ʮ΋ͬͱձٞΛɺ΋ͬͱൃݴΛɺ΋ͬͱ௅ઓΛʯͱ͍͏
    ײ͔͡ͳ͋ɻ
    -5΍SFKFDUͰ੎͍༨ͬͯ࿩ͪ͠Ό͏ࣄΛɺ-5ͱҧͬͯಔᮐΦ
    ν͡Όͳ͍ηογϣϯͱͯͨ͘͠͞ΜͰ͖Δͱ͍͍ͳ͋ͱɻ

    View full-size slide

  18. ࿩͢ਓͱฉ͘ਓͷ

    ൺ཰Λม͍͑ͨ

    View full-size slide

  19. ΧϯϑΝϨϯεͳΒͰ͸
    w େ͖ͳςʔϚͰू·ΕΔ
    w ͸͡ΊͯͷਓʹΞϓϩʔνͰ͖Δ
    w إΛ߹Θͤͯ࿩͕Ͱ͖Δ

    View full-size slide

  20. ։࠵ͷஈऔΓ

    View full-size slide

  21. खͷͻΒʹऩ·Βͳ͍

    View full-size slide

  22. ࢥ͍͖ͭͰ͸Ͱ͖ͳ͍
    w 8FCϖʔδ
    w ืूαΠτ
    w ։࠵झҙॻ
    w ελοϑ༻λΠϜςʔϒϧ
    w ࢀՃऀ༻λΠϜςʔϒϧ
    w උ඼Ϧετ
    w ༧ࢉϦετ
    w ࢧ෷͍࣮੷Ϧετ
    w Ξφ΢ϯε୆ຊ
    w ελοϑϦετ
    w ൃදऀϦετ
    w ࢀՃऀϦετ
    w εϙϯαʔରԠ
    w υΩϡϝϯτ؅ཧ
    w ϊϕϧςΟ
    w ϩΰը૾
    w ޿ใ
    w ࿈བྷ

    View full-size slide

  23. ෆ҆ɾ৺഑

    View full-size slide

  24. ෆ҆ɾ৺഑΁ͷରࡦ
    w είʔϓௐ੔
    w l΍Βͳ͍zܾஅΛԼ͢
    w ظؒతόοϑΝ
    w ݸਓͷl࠷େݶͷ౒ྗzʹཔΔ͜ͱʹͳΔ
    w ࢿۚతόοϑΝ
    w ίϛϡχςΟΠϕϯτʹݶΒͣ೰Έਂ͍

    View full-size slide

  25. ࠷େͷΞΫγσϯτ

    View full-size slide

  26. IUUQNBHB[JOFSVCZJTUOFU
    5PLZP3VCZ,BJHJ3FQPSU@TU

    View full-size slide

  27. IUUQNBJOJDIJKQHSBQI
    PSHNDIUNM

    View full-size slide

  28. Ͱ͖Δରࡦແ͍

    View full-size slide

  29. ෆ҆ɾ৺഑΁ͷରࡦ
    w είʔϓௐ੔
    w l΍Βͳ͍zܾஅΛԼ͢
    w ظؒతόοϑΝ
    w ݸਓͷl࠷େݶͷ౒ྗzʹཔΔ͜ͱʹͳΔ
    w ࢿۚతόοϑΝ
    w ίϛϡχςΟΠϕϯτʹݶΒͣ೰Έਂ͍

    View full-size slide

  30. IUUQXXXTIJCVDVMKQHVJEF@TBLVSBIUNM

    View full-size slide

  31. ೔໨ͷ௥Ճ։࠵
    IUUQNBHB[JOFSVCZJTUOFU
    5PLZP3VCZ,BJHJ3FQPSU@OE

    View full-size slide

  32. IUUQSFHJPOBMSVCZLBJHJPSHTIJCVZB
    IUUQXXXPLJOBXBSCPSHPLSL

    View full-size slide

  33. ࣗ෼ͨͪͳΓͷٕज़Χ
    ϯϑΝϨϯε͸։͚Δ

    View full-size slide

  34. ։࠵Ͱ΋ͬͱ΋

    େࣄͳ͜ͱ

    View full-size slide

  35. 3VCZͷཧղʁ
    λεΫ؅ཧʁ
    εέδϡʔϧ؅ཧʁ
    ༧ࢉ؅ཧʁ

    View full-size slide

  36. ࣮ߦҕһ௕ͷ૝͍

    View full-size slide

  37. Կނ։࠵͍ͨ͠ͷ͔

    View full-size slide

  38. ૝͍ͷݴޠԽ

    View full-size slide

  39. ։࠵झҙॻ

    View full-size slide

  40. ։࠵झҙॻ͚ͩ͋Ε͹

    ΧϯϑΝϨϯεΛ
    େن໛ʹ։࠵Ͱ͖Δ

    View full-size slide

  41. IUUQNBHB[JOFSVCZJTUOFU 'PSF8PSE

    View full-size slide

  42. ։࠵झҙॻΛॻͨ͘Ίʹ
    w ஥ؒΛݟ͚ͭΔ
    w ςʔϚɺํ޲ੑΛग़͢
    w ։࠵झҙॻͱͯ͠࢓ཱͯΔ

    View full-size slide

  43. ஥ؒΛݟ͚ͭΔ

    View full-size slide

  44. ςʔϚɺํ޲ੑΛग़͢

    View full-size slide

  45. ʮଓ͖·ͤΜʯ
    ܧଓੑ͸ଞͷίϛϡχςΟͰؤு͍͖͍ͬͯͨͩͨ
    Ұൃ԰্౳
    !
    ΋ͬͱ࿩͢ػձΛ࡞Γ͍ͨ
    ౦ژͷ৔߹͸ˣ
    ʮ΋ͬͱձٞΛɺ΋ͬͱର࿩Λɺ΋ͬͱ௅ઓΛʯΛςʔϚͱ͠ɺΑ
    Γଟ͘ͷ3VCZJTU͕͠ΓࠐΈ͢Δ͜ͱͳ͘ɺ
    ΞΫςΟϒʹΠϕϯτ΍ू·ΓʹࢀՃͰ͖ΔΑ͏ͳ͖͔͚ͬͱͳΔ΂͘ɺ
    ࢀՃऀಉ࢜ͷ࿩͠߹͍Λத৺ʹਾ͑ͯɺ
    ஌ࣝͷ఻ୡɺจ຺ͷڞ༗ɺ໰୊ͷղܾͳͲͱ͍ͬͨ͜ͱΛاਤ͍ͯ͠·
    ͢ɻ
    ಉ͡จݴͰදݱ͢Δͱɺࠓճ͸ʮ΋ͬͱձٞΛɺ΋ͬͱൃݴΛɺ΋ͬ
    ͱ௅ઓΛʯͱ͍͏ײ͔͡ͳ͋ɻ
    -5΍SFKFDUͰ੎͍༨ͬͯ࿩ͪ͠Ό͏ࣄΛɺ-5ͱҧͬͯಔᮐΦν͡Ό
    ͳ͍ηογϣϯͱͯͨ͘͠͞ΜͰ͖Δͱ͍͍ͳ͋ͱɻ

    View full-size slide

  46. ࣗ෼ʹͱͬͯ΍ͬͨ͜ͱͳ͍͜ͱɾܦݧ͕গͳ͍͜ͱΛ΍Γ͍ͨ
    ϗʔϧͰ࿩ͦ͢ΕͳΓك༗ͳࣄΛϥΠτ΢ΣΠτʹ΍Γ͍ͨ
    ෳ਺೔։࠵΋
    ʮ΋ͷͷྑ͞ͱईͷେখ͸܎ΘΓͳ͠ͱଘ͡·͢Δʯͬͯݹా৫෦͕
    ݴͬͯͨʢ΁͏͛΋ͷͰʣ͚Ͳɺ͍ͬ΃Μେ͖͍ͷ΋΍ͬͯΈͯ΋͍͍
    ͔ͳ͋ͱ
    !
    ͦͷଞ
    IUUQKQSVCZJTUOFUNBHB[JOF
    3VCZ$POGM͕ڹ͍ͯΔ
    Զͷ࿩Λฉ͍ͯΔͦ͜ͷ͓·͑ΒΧϯϑΝϨϯε͸࠲ͬͯฉ͍ͯΔ
    ΋Μ͡ΌͶ͓͑·͑Β΋ΠϕϯτΛΦʔΨφΠζ͠ΖZQͱ͍͏࿩ɻ

    View full-size slide

  47. ։࠵झҙॻͱͯ͠

    ࢓ཱͯΔ

    View full-size slide

  48. ʮ࿩ͦ͏ɺू·Ζ͏ɺ
    ͍ͭ΋ͷ3VCZɺ

    ೔ৗͷ3VCZʯ

    View full-size slide

  49. ౦ژ3VCZձٞΛ

    ߴΒ͔ʹએݴ͢Δ
    w ౦ژ3VCZձٞͱ͸Կ͔
    w औΓר͘ঢ়گ
    w ঢ়گΛ౿·࣮͑ͯݱ͍ͨ͠ࣄ
    w ࣮ݱ͍ͨ͜͠ͱΛຬͨ͢खஈ

    View full-size slide

  50. ౦ژ3VCZձٞͱ͸Կ͔
    ౦ژ3VCZձٞͱ͸ɺ֤஍ͷ஍Ҭ3VCZίϛϡ
    χςΟ͕த৺ͱͳͬͯ։࠵͍ͯ͠ΔΦϒδΣΫτࢦ
    ޲εΫϦϓτݴޠ3VCZʹؔ͢ΔΧϯϑΝϨϯεͰ
    ͋Δ஍Ҭ3VCZձٞͷҰͭͰ͢ɻ
    ౦ژ஍ҬͰ͸ɺ೥ʹߦΘΕͨ౦ژ3VCZձٞ
    Ҏདྷɺ༷ʑͳςʔϚΛ๊͍༷ͨʑͳओ࠵ऀͷ΋
    ͱͰόϥΤςΟ๛͔ʹ։࠵͞Ε͓ͯΓɺ͜ͷ౦ژ
    3VCZձ͕ٞͪΐ͏Ͳݸ໨ͷ։࠵ͱͳΓ·͢ɻ

    View full-size slide

  51. औΓר͘ঢ়گ
    ࠓ೔౦ژͰͷ3VCZJTUΛऔΓר͘ঢ়گͱͯ͠͸ɺ3VCZʹؔ͢ΔίϛϡχςΟ
    ׆ಈ΍Πϕϯτ։࠵͕සൟʹ͋ΓɺΦϑϥΠϯͰͷަྲྀΛ͘͝೔ৗతʹߦ͏͜
    ͱ͕Ͱ͖·͢ɻू·Γͷن໛΋ιϩ׆ಈ΍਺ਓɺ਺ेਓͷίϯύΫτͳ΋ͷ͔
    Βɺਓɺਓ͕ू·Δେֻ͔Γͳ΋ͷ·Ͱ༷ʑͰ͢ɻ
    ओ࠵ऀɾओ࠵ஂମ΋Ұͭͷதԝूݖతͳଘࡏ͕͋ΔΘ͚Ͱ͸ͳ͘ɺͦΕͧΕ͕
    ΏΔ΍͔ʹܨ͕͍ͬͯ·͢ɻࢀՃऀ΋ͦΕͧΕগͣͭ͠ҟͳͬͨίϯςΩετ
    ΍໰୊ҙࣝΛ͓࣋ͬͯΓɺͿΒΓͱڵຯͷ͋Δू·ΓͷճʹࢀՃ͢ΔͨΊɺݸ
    ਓݸਓͷ๛͔ͳܨ͕Γ͕࡞Γ্͛ΒΕ͍ͯ·͢ɻ
    ·ͨ୯ʹҜࢠʹ࠲ͬͯ࿩Λഈௌ͢Δ͚ͩͰͳ͘ɺڞಉ࡞ۀΛͨ͠ΓɺϓϨθϯ
    ςʔγϣϯΛߦͬͨΓɺνϡʔτϦΞϧΛ։͍ͨΓͱɺΞΫςΟϒʹ׆ಈͰ͖
    ΔࢀՃऀ͕ଟ͘ଘࡏ͍ͯ͠·͢ɻू·ΓͷதͰɺඈͼೖΓίϯςϯπΛืू͢
    Δͱ࿮Λ௒͑ΔԠื͕ࡴ౸͢Δͱ͍͏͜ͱ΋௝͋͘͠Γ·ͤΜɻ

    View full-size slide

  52. ঢ়گΛ౿·࣮͑ͯݱ͍ͨ͠ࣄ
    ౦ژ3VCZձٞ͸ɺͦͷΑ͏ͳ౦ژʹ͓͚Δ3VCZίϛϡχςΟͷ
    ίϯςΩετΛϕʔεͱͯ͠ɺେ͖ͳن໛Ͱ3VCZJTU͕ͨͪҰಉʹձ
    ͠ɺٕज़తɾਓతަྲྀΛߦ͏͜ͱΛओ୊ͱͯ͠։࠵͠·͢ɻ
    ͜Ε͔ΒަྲྀΛ͍࣋ͪͨͱ͍͏ํ͸͕͜͜ަྲྀͷ͖͔͚ͬͱͳΔΑ͏ͳɻ

    ͢ͰʹԿΒ͔ͷަྲྀΛ΋͍ͬͯΔํ͸ߋʹަྲྀͷ෯Λ૿΍ͤΔΑ͏ͳɻ
    ·ͨɺ೔ʑͷ׆ಈͰഓ͖ͬͯͨ͜ͱ΍ɺࣗ෼ࣗ਎ͷ͜ͱΛɺଟ͘ͷਓ͕
    ࿩͠ɺฉ͖ɺࠓޙͷܹࢗ΍׆ಈͷྐͰ͖ΔΑ͏ͳɻ
    ͦ͏͍͏৔ΛօͰ૑Γ͍͋͛ͨͱߟ͍͑ͯ·͢ɻ

    View full-size slide

  53. ࣮ݱ͍ͨ͜͠ͱΛຬͨ͢खஈ
    ͦ͜Ͱɺ౦ژݍͰ׆ಈ͍ͯ͠ΔͰ͖Δ͚ͩଟ͘ͷ
    3VCZJTU͕ࢀՃͰ͖ΔΑ͏ʹɺࠃࡍతͳ3VCZͷ
    ΧϯϑΝϨϯεͰ͋Δ೔ຊ3VCZձٞʹ͙࣍Ϩϕ
    ϧͷن໛Ͱ͋Δɺٳॕ೔೔ؒ೥݄ɺ
    ೔Λձظͱͯ͠ɺ౦ژݍʹҐஔ͠౦ژӺ͔Βμ
    ΠϨΫτΞΫηεՄೳͳརศੑΛ࣋ͭඒ඿จԽϗʔ
    ϧΛձ৔ͱͯ͠ɺͷ΂ਓن໛Ͱ։࠵͠·͢ɻ

    View full-size slide

  54. ࣮ݱ͍ͨ͜͠ͱΛຬͨ͢खஈ
    ಺༰ͱͯ͠͸ɺීஈࢀՃ͍ͯ͠Δू·ΓͰτʔΫ΍ൃදΛߦ
    ͳ͍ͬͯΔ͜ͱΛɺීஈΑΓଟ͘ͷਓΛר͖ࠐΉ͖͔͚ͬʹ
    ͳΔΑ͏ɺͰ͖Δ͚ͩଟ͘ͷਓʹొஃɾൃද͍͚ͨͩΔΑ͏
    ͳ޻෉ΛڽΒ͠·͢ɻ·ͨɺಉ͡ڵຯ΍ίϯςΩετΛ࣋ͬ
    ͨࢀՃऀಉ࢜Ͱٞ࿦΍ަྲྀ͠ɺࠓޙͷίϛϡχςΟ׆ಈͷ͖ͬ
    ͔͚ʹͳΔΑ͏ɺ༷ʑͳίϯςϯπΛઃ͚·͢ɻ
    ੋඇɺ೔ࠒ׆ಈ͍ͯ͠Δ੒ՌΛ࣋ͪدΓɺେ͍ʹू·ͬͯࢀ
    Ճऀಉ࢜޿͘ਂ͘࿩Λ͠·͠ΐ͏ɻଟ͘ͷΈͳ͞·ͷ͝ࢀՃ
    Λ͓଴ͪਃ্͛͠·͢ɻ

    View full-size slide

  55. l-JHIUOJOH5BMLTͷ
    ϘϦϡʔϜͱؾܰ͞Ͱ
    ϝΠϯϗʔϧʹཱͭz

    View full-size slide

  56. ։࠵झҙॻΛ

    ·ͣ͸ߟ͑ͯΈΑ͏

    View full-size slide

  57. IUUQTHJUIVCDPNSVCZOPLBJP⒏DJBMXJLJ3FHJPOBMSVCZLBJHJ

    View full-size slide

  58. CBTI$
    ౦ژ3VCZձٞ

    l࣍͸܅ͷ൪z

    View full-size slide