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

Go言語による2年半の新規プロダクト開発とその総括

cowsys
July 03, 2018
16k

 Go言語による2年半の新規プロダクト開発とその総括

cowsys

July 03, 2018
Tweet

Transcript

  1. (PݴޠʹΑΔ
    ೥൒ͷ৽نϓϩμΫτ։ൃͱ
    ͦͷ૯ׅ
    NFSDBSJHP
    DPXTZT

    View full-size slide

  2. ࣗݾ঺հ
    *%DPXTZT
    ʙגࣜձࣾι΢κ΢
    ϝϧΧϦΞοςαʔόαΠυΤϯδχΞ
    ʙגࣜձࣾϝϧϖΠ

    View full-size slide

  3. ݸਓతͳςʔϚ
    w ৴༻Λ૑଄ͯ͠ɺͳΊ
    Β͔ͳࣾձΛ૑Δˏϝ
    ϧϖΠ
    w ਓʑͷੜ׆Λม͑ΔΑ
    ͏ͳ৽نϓϩμΫτΛ
    ͭ͘Δ
    w ͍͍࣌ؒͷա͝͠ํΛ
    ͍ͨ͠
    w ͍͍࢓ࣄΛ͍ͨ͠
    w (PͷύϫʔΛ༨͢ͱ͜Ζ
    ͳ͘ར༻Ͱ͖ΔΑ͏ʹͳ
    Δ
    w ($1ͷύϫʔΛ༨͢ͱ͜
    Ζͳ͘ར༻Ͱ͖ΔΑ͏ʹ
    ͳΔ

    View full-size slide

  4. ࠓ೔͓࿩͢Δͱ͜Ζ

    View full-size slide

  5. ࣗݾ঺հ
    *%DPXTZT
    ʙגࣜձࣾι΢κ΢
    ϝϧΧϦΞοςαʔόαΠυΤϯδχΞ
    ʙגࣜձࣾϝϧϖΠ
    ίίͷ஌ݟʂ

    View full-size slide

  6. ϝϧΧϦΞος

    View full-size slide

  7. ϝϧΧϦΞοςͱ͸ʁ
    w ϝϧΧϦάϧʔϓॳͱͳΔɺϝϧΧϦҎ֎ͷαʔϏε
    w $$ܥαʔϏε
    w ೥݄ࠒ͔Βߏ૝ελʔτ
    w ೥݄ɹϩʔϯν
    w ೥݄຤Ϋϩʔζ
    ެࣜϚείοτ
    χϟος ݘ

    View full-size slide

  8. ϝϧΧϦΞοςͱ͸ʁ
    w ΤϯδχΞ ϦϙδτϦͷDPOUSJCVUPSϕʔε

    w αʔόαΠυΤϯδχΞ
    w J04ΤϯδχΞ
    w "OESPJEΤϯδχΞ
    w ϑϩϯτΤϯυΤϯδχΞ

    View full-size slide

  9. ϝϧΧϦΞοςͱ͸ʁ
    w ίʔυن໛ɹͰɹɹ͔ɹɹ͍
    w ૯13਺
    w "1*$45PPM8FC
    w J04
    w "OEPSJE
    w ػೳͯΜ͜੝Γ
    w OBUJWFBQQͷελϯμʔυͳػೳҰࣜ
    w $$ ίϛϡχςΟ 2"

    View full-size slide

  10. ϝϧΧϦΞοςͱ͸ʁ
    w ϩʔϯνલͷ໿ϲ݄લʹKPJO։ൃελʔτ
    w TU13͔Β໿ϲ݄ޙ
    w શ͘ͷ(Pݴޠॳ৺ऀ
    w ׳Ε਌͠ΜͰ͖ͨݴޠ͸1)1
    w ໿೥൒αʔόαΠυΤϯδχΞͱͯ͠ࢀՃ

    View full-size slide

  11. ͜ͷൃදͰ͓఻͍͑ͨ͜͠ͱ
    w શ͘ͷ(Pݴޠॳ৺ऀ͕
    w ৽ن։ൃͰϓϩμΫτϦϦʔεલʙϓϩμΫτΫϩʔ
    ζ·Ͱͷ೥൒ͯ͠Έͯ
    w ࠷ऴతʹ(PݴޠΛͲ͏ଊ͍͑ͯΔͷ͔ʁ

    View full-size slide

  12. ͜ͷൃදͰ͓఻͍͑ͨ͜͠ͱ
    w શ͘ͷ(Pݴޠॳ৺ऀ͕
    w ৽ن։ൃͰϓϩμΫτϦϦʔεલʙϓϩμΫτΫϩʔ
    ζ·Ͱͷ೥൒ͯ͠Έͯ
    w ࠷ऴతʹ(PݴޠΛͲ͏ଊ͍͑ͯΔͷ͔ʁ
    (Pݴޠͷ
    ϝονϟ೩͑Δ
    ϙΠϯτબ

    View full-size slide

  13. ೩͑ΔϙΠϯτ
    TJNQMFͳݴޠ࢓༷ࢥ૝Ͱɺෳࡶͳ໰୊Λղܾ͢Δ
    ίϯϐϡʔλϦιʔεɾ(PݴޠͷπʔϧΩοτΛ
    ࠷େݶ׆༻ͨ͠ɺ࣮૷ೳྗͷFNQPXFSNFOU
    )JHI1FSGPSNBODFͳϓϩάϥϛϯά
    νʔϜ։ൃʹ͓͚Δ(Pݴޠ

    View full-size slide

  14. TJNQMFͳ
    ݴޠ࢓༷ࢥ૝Ͱ
    ෳࡶͳ໰୊Λղܾ͢Δ

    View full-size slide

  15. ݴޠ࢓༷ͷTJNQMF͞
    w ݴޠ࢓༷͕ͱͯ΋ബ͍
    w ୯७ʹ֮͑Δ͜ͱ͕গͳ͔ͬͨҹ৅
    w QVSFͳϩδοΫͦͷ΋ͷʹ৮Ε͍ͯΔײ֮
    w ॻ͖ຯ͕͍͍ λϥϥο
    ಡΈ΍͍͢
    w ಄ͷ$16ͷେ෦෼ΛϩδοΫهड़ʹ஫͗ࠐΊͯΔײ֮
    w ֊૚తͳϩδοΫͷදݱ
    w JOUFSGBDFຒΊࠐΈΛར༻ͨ͠ബ͍ػߏΛ΋ͬͯදݱ
    w ಄ʹೖΕ͓ͯ͘΂͖৘ใ͕ίϯύΫτ

    View full-size slide

  16. ΩϟονΞοϓ
    w ϓϩάϥϛϯάݴޠͷ
    ཧղ
    w ར༻͍ͯ͠Δ4FSWJDFͷ
    ཧղ ($1 %# FUD

    w ΞʔΩςΫνϟཧղ
    w αʔϏεݻ༗ͷυϝΠ
    ϯ஌ࣝͷཧղ
    w Ϟμϯͳ࣮૷ํࣜཧղ

    View full-size slide

  17. ΩϟονΞοϓ
    w ϓϩάϥϛϯάݴޠ
    w ར༻͍ͯ͠Δ4FSWJDFͷ
    ཧղ ($1 %# FUD

    w ΞʔΩςΫνϟཧղ
    w αʔϏεݻ༗ͷυϝΠ
    ϯ஌ࣝͷཧղ
    w Ϟμϯ
    w
    w

    View full-size slide

  18. ੵΈॏͶ
    w ඇৗʹʮੵΈॏͶʯ͕ޮ͘ϓϩάϥϛϯάݴޠ
    w ٸܹʹ࣮૷ํ͕ࣜมԽ͢ΔΠϝʔδ͕খ͍͞
    w ৴པײͷ͋Δɺ༷ʑͳϢʔεέʔεʹରԠͨ͠ඪ४ϥ
    ΠϒϥϦ
    w ʮ۪௚ʹॻ͘ʯͱ͍͏Α͏ͳݴޠࢥ૝
    w 㱺࣮૷ํ͕ࣜ௠෗Խ͠ͳ͍Α͏ʹέΞ͞Ε͍ͯΔҹ৅

    View full-size slide

  19. ੵΈॏͶ
    w ͕࣌ؒ͋Δͱ͖ɺ෮श͕ͯΒখ͍͞ίʔυΛॻ͍ͯ
    ΈΔ͜ͱ͕ଟ͘ͳͬͨ
    w ✅೥࢖͑ΔπʔϧΩοτʹͳΔΑ͏ʹɺੵΈ
    ॏͶ͍͖͍ͯͨؾ͕࣋ͪڧ͍
    w ✅ண࣮ʹੵΈॏͶ͍ͯͬͯɺΑΓෳࡶͳ໰୊Λղ
    ܾͰ͖ΔΑ͏ʹͳΓ͍ͨ

    View full-size slide

  20. ෳࡶͳ໰୊Λղܾ͢Δ
    w (Pݴޠͷγϯϓϧͳݴޠ࢓༷Λۦ࢖ͯ͠
    w ͲΕ͚ͩ෯޿͍ιϦϡʔγϣϯΛ࣮ݱͰ͖Δ͔
    w ͲΕ͚ͩෳࡶͳ໰୊ΛղܾͰ͖Δ͔

    View full-size slide

  21. ෳࡶͳ໰୊Λղܾ͢Δ
    ໰୊ྖҬͷ޿͞
    SBOHF

    ໰୊ྖҬͷਂ͞
    EFQUI

    (Pݴޠ͕ΧόʔͰ͖Δ
    ໰୊ྖҬ

    View full-size slide

  22. ෳࡶͳ໰୊Λղܾ͢Δ
    <ΤϯδχΞϦϯά͕ΧόʔͰ͖Δ໰୊ྖҬ>
    J04 "OESPJE XFC
    αʔό
    αΠυ
    <σβΠϯ͕ΧόʔͰ͖Δ
    ໰୊ྖҬ>
    <ϓϩμΫτϚωδϝϯτ
    ͕ΧόʔͰ͖Δ໰୊ྖҬ>
    ϓϩμΫτͱͯ͠
    ղܾ͍ͨ͠໰୊ྖҬ

    View full-size slide

  23. ίϯϐϡʔλ
    ϦιʔεΛ
    ࠷େݶ׆༻ͨ͠
    ࣮૷ೳྗͷ
    FNQPXFSNFOU

    View full-size slide

  24. ϝϯλϧϞσϧͷมԽ
    w ʰίϯϐϡʔλϦιʔεɾ(PݴޠͷπʔϧΩοτ
    ͱࣗ෼ࣗ਎ͷΞλϚͷ྆ํΛۦ࢖ͯ͠Ξ΢τϓοτ
    Λ࠷େԽ͍ͨ͠ʱ
    w ίϯϐϡʔλɺώτ͕ಘҙͳྖҬΛೝࣝͯ͠׆༻͢
    Δ

    View full-size slide

  25. ίϯϐϡʔλϦιʔεͷ׆༻
    w ίϯύΠϧʹΑΔίʔσΟϯά੔߹ੑͷཪ෇͚
    w ώτ͕੔߹ੑ͕୲อͰ͖͍ͯͳ͍෦෼Λ୳͞ͳ͍ɻίϯ
    ϐϡʔλʹ୳ͯ͠΋Β͏
    w צҧ͍ɺؒҧ͍͕ࠞೖ͠΍͘͢ϋϚΔͱͱ͜ͱΜ࣌ؒΛϩ
    ετ
    w (Pݴޠಛ༗ͷπʔϧΩοτͷ׆༻
    w HPGNU HPJNQPSUT HPWFUͳͲͷίʔυϑΥʔϚολɺίʔ
    υνΣοΧFUDʜ

    View full-size slide

  26. *%&Λ׆༻ͨ͠FNQPXFSNFOU
    w (P-BOE (P-BOE (P-BOE
    w ίϯύΠϧͷલஈͷνΣοΫػߏͱͯ͠ɺ*%&ͷߏจνΣοΫػೳΛར༻
    w ίʔσΟϯάͷαΠΫϧΛΑΓ୹͘ɻίʔσΟϯάͷϦζϜ͕େ͖͘վળ
    w *%&ͷ੩తղੳɺܕʹΑΔڧ͍੔߹ੑͷ׆༻
    w ਖ਼͍͠είʔϓͷγϯϘϧݕࡧɻείʔϓΛݟޡΔ͜ͱ͕ͳ͍
    w ϦϑΝΫλϦϯάɻਖ਼͍͠είʔϓͷɺਖ਼͍͠मਖ਼͕Մೳ
    w ৴པੑͷߴ͍ิ׬
    w ଟগͷ࣮૷εϐʔυϦζϜΛ٘ਜ਼ʹͯ͠Ͱ΋ɺ*%&ͷิ׬ʹҕͶΔ
    w ࢥ͍ग़͢λεΫʹ಄ͷ$16Λফඅͤ͞ͳ͍
    w ؒҧ͍ͷࠞೖΛۃྗݮΒ͠ɺ࣮૷ϦζϜΛ҆ఆͤ͞ΔTQFFEVQ

    View full-size slide

  27. ϋΠύϑΥʔϚϯεͳ
    ϓϩάϥϛϯάͷ
    ඞཁੑ

    View full-size slide

  28. ϋΠύϑΥʔϚϯεϓϩάϥϛϯά
    w ϋΠύϑΥʔϚϯεϓϩάϥϛϯάͷඞཁੑʹ໨֮
    ΊΔ
    w ͖͔͚ͬ
    w ݄ʹࣾ಺։࠵͞Εͨ %BWF$IFOFZ͞
    ΜʹΑΔ(P5SBJOJOH
    w )JHI1FSGPSNBODF(P

    View full-size slide

  29. Ҿ༻ݩIUUQTHPUBMLTBQQTQPUDPNHJUIVCDPNEBWFDIFOFZIJHI
    QFSGPSNBODFHPXPSLTIPQIJHIQFSGPSNBODFHP
    XPSLTIPQTMJEF
    ϋΠύϑΥʔϚϯεϓϩάϥϛϯά

    View full-size slide

  30. ϋΠύϑΥʔϚϯεϓϩάϥϛϯά
    w QPJOUT
    w ϋʔυ΢ΣΞͷੑೳ޲্ͷӄΓ͕ݱΕ࢝Ί͍ͯΔ
    w ࠓݱࡏͷϋʔυ΢ΣΞʹϚονͨ͠ϓϩάϥϛϯάํࣜʹγϑ
    τ͢Δඞཁੑ͕͋Δ
    w ϋʔυ΢ΣΞΛ׆༻͠ɺϋΠύϑΥʔϚϯεͳॲཧΛ࣮ݱ
    w ϋΠύϑΥʔϚϯεΛग़ͨ͢Ίͷɺ͞·͟·ͳཁ݅Λຬͨ͢ϓ
    ϩάϥϛϯάݴޠΛར༻͢Δඞཁੑ
    w 㱺(Pݴޠ

    View full-size slide

  31. ϋΠύϑΥʔϚϯεϓϩάϥϛϯά
    w ✅ೲಘײ͕ߴ͘ɺҙຯ߹͍͕େ͖͍ࣔࠦ
    w ✅αʔϏε͕ղܾ͢Δ໰୊ྖҬʹΑͬͯ͸ɺඇৗʹ
    େ͖ͳՁ஋Λ΋ͭ
    w গͣͭ͠Ͱ΋Α͍͔Βɺ਎ʹ͚͍ͭͨ

    View full-size slide

  32. νʔϜ։ൃʹ͓͚Δ
    (Pݴޠ

    View full-size slide

  33. ΩϟονΞοϓ
    w ϓϩάϥϛϯάݴޠͷ
    ཧղ
    w ར༻͍ͯ͠Δ4FSWJDFͷ
    ཧղ ($1 %# FUD

    w ΞʔΩςΫνϟཧղ
    w αʔϏεݻ༗ͷυϝΠ
    ϯ஌ࣝͷཧղ
    w Ϟμϯͳ࣮૷ํࣜཧղ

    View full-size slide

  34. ΩϟονΞοϓ
    w ϓϩάϥϛϯάݴޠ
    w ར༻͍ͯ͠Δ4FSWJDFͷ
    ཧղ ($1 %# FUD

    w ΞʔΩςΫνϟཧղ
    w αʔϏεݻ༗ͷυϝΠ
    ϯ஌ࣝͷཧղ
    w Ϟμϯ
    w
    w

    View full-size slide

  35. ϒϨͷͳ͍ೝࣝ౷Ұ
    w ܕγεςϜʹཪ෇͚͞Εͨڧݻͳ*'
    w ίϯύΠϧ͕௨͍ͬͯΔݶΓɺίʔσΟϯά্ͷέΞϨεϛε͸
    ࠞೖ͠ͳ͍
    w JOPVUQBSBN͕໌֬
    w ֤छQBSBNΛௐ΂Δඞཁ΋ͳ͍
    w ࢀরཁૉ͕ଟ͚Ε͹ଟ͍΄ͲɺνʔϜ಺Ͱڧݻͳೝࣝ౷Ұ͕Ͱ͖Δ
    ͷ͸Ͱ͔͍
    w ਓͷೝࣝΛҰͭʹ͋ΘͤΔͷ͸ຊ౰ʹ೉қ౓͕ߴ͍ͷͰɺͰ͔͍

    View full-size slide

  36. ͦͷଞ
    w ϓϩμΫτUFBNͱͯ͠ߋͳΔΞ΢τϓοτΛग़͢
    w ফ໣ͤͣʹ஝͑Δ͜ͱ͕Ͱ͖ͨूதྗΛ࢖ͬͯ
    w અ໿Ͱ͖ͨ࣌ؒΛ࢖ͬͯ
    w ·ͩ·ͩνʔϜ։ൃʹ͓͚ΔϝϦοτ׆༻ํ๏͋Γͦ͏
    w ✅୯ʹݟ͍ͩͤͯͳ͍͚ͩ
    w ✅ਂ۷Γͯ͠ݟ͚͍ͭͨ

    View full-size slide

  37. ͜ͷൃදͰ͓఻͍͑ͨ͜͠ͱ
    w શ͘ͷ(Pݴޠॳ৺ऀ͕
    w ৽ن։ൃͰϓϩμΫτϦϦʔεલʙϓϩμΫτΫϩʔ
    ζ·Ͱͷ೥൒ͯ͠Έͯ
    w ࠷ऴతʹ(PݴޠΛͲ͏ଊ͍͑ͯΔͷ͔ʁ
    (Pݴޠͷ
    ϝονϟ೩͑Δ
    ϙΠϯτબ

    View full-size slide

  38. ೩͑ΔϙΠϯτ
    TJNQMFͳݴޠ࢓༷ࢥ૝Ͱɺෳࡶͳ໰୊Λղܾ͢Δ
    ίϯϐϡʔλϦιʔεɾ(PݴޠͷπʔϧΩοτΛ
    ࠷େݶ׆༻࣮ͨ͠૷ೳྗͷFNQPXFSNFOU
    )JHI1FSGPSNBODFͳϓϩάϥϛϯά
    νʔϜ։ൃʹ͓͚Δ(Pݴޠ

    View full-size slide

  39. ΤϯδχΞͳΒ೩͑ΔςʔϚͷ͸ͣ
    TJNQMFͳݴޠ࢓༷ࢥ૝Ͱɺෳࡶͳ໰୊Λղܾ͢Δ
    ίϯϐϡʔλϦιʔεɾ(PݴޠͷπʔϧΩοτΛ
    ࠷େݶ׆༻࣮ͨ͠૷ೳྗͷFNQPXFSNFOU
    )JHI1FSGPSNBODFͳϓϩάϥϛϯά
    νʔϜ։ൃʹ͓͚Δ(Pݴޠ




    View full-size slide

  40. ࠎͷ͋Δଟ͘ͷςʔϚ
    ϓϩάϥϛϯάϝϯλϧϞσϧ΁ͷ
    ϙδςΟϒͳӨڹ
    ফ໣গͳ͘Ξ΢τϓοτΛग़͢

    View full-size slide

  41. ॳ৺ऀ͔ΒͷελʔτͰ͕ͨ͠
    (Pݴޠɺͱͯ΋Α͔ͬͨͧ

    View full-size slide

  42. ࠙਌ձͰ
    ͓࿩͠͠·͠ΐ͏ʂ
    ͋Γ͕ͱ͏
    ͍͟͝·ͨ͠

    View full-size slide