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

20 Jan 2017 / Moving Beyond Borders - Mercari DAY

20 Jan 2017 / Moving Beyond Borders - Mercari DAY

Keynote presentation at #mercariday

Sotaro Karasawa

January 20, 2017
Tweet

More Decks by Sotaro Karasawa

Other Decks in Technology

Transcript

  1. Moving Beyond Borders
    mercari DAY #mercariday
    Sotaro Karasawa / @sotarok
    CTO, Executive Officer

    View full-size slide

  2. Welcome
    to
    #mercariday

    View full-size slide

  3. Engineering Team of Mercari

    View full-size slide

  4. San Francisco
    London
    Tokyo

    View full-size slide

  5. Tokyo
    60+ Engineers
    • 2013೥~
    • ϝϧΧϦͷ։ൃͷத৺
    • ֤ڌ఺ͷӡ༻΋ߦ͏
    • ࠾༻ɺڭҭɺ͢΂ͯͷ
    ։ൃ૊৫ͷػೳ

    View full-size slide

  6. San Francisco
    8 Engineers
    • 2014೥~
    • αʔϏεΛ "ϩʔΧϥ
    Πζ" ͢Δ
    • ݴޠ͚ͩͰͳ͘ɺจԽɺ
    श׳ͳͲΛؚΊͨϩʔ
    ΧϥΠζ

    View full-size slide

  7. London
    4 Engineers
    • 2016೥~
    • ৽ڌ఺ͰͷαʔϏεཱͪ
    ্͛
    • ϩʔΧϥΠζ͸΋ͪΖΜ
    • ݱ஍ͷ๏ྩ౳ʹద߹ͤ͞
    ΔͨΊ

    View full-size slide

  8. Project Teams
    • ϛογϣϯΛ࣋ͭνʔϜ
    • ྫ: ചΓखͷମݧΛ࠷ߴʹ͢ΔνʔϜ (Seller UX Team)
    • ͜ΕΒͷνʔϜ͕ɺશࣾͰ࢛൒ظ͝ͱʹఆΊΔ OKR (Key
    Objective) ʹ޲͔ͬͯ։ൃΛ͢Δ
    • νʔϜߏ੒
    • 5-10 ਓఔ౓ͷ1νʔϜ
    • ϓϩμΫτϚωʔδϟʔɺϓϩσϡʔαʔɺΤϯδχΞɺQA
    • σβΠφʔͷΑ͏ͳԣ۲ͷνʔϜ͕ؔΘΔ

    View full-size slide

  9. Mission Specified Teams
    • SRE
    • Site Reliability Engineer
    • "͍ͭͰ΋ɺշదɺ҆৺ɺ҆શʹαʔϏεΛ࢖͑ΔΑ
    ͏ʹ͢Δ" νʔϜ
    • SET
    • Software Engineer in Test
    • ։ൃ؀ڥɺςετ؀ڥɺࣗಈςετͳͲɺΤϯδχϯ
    άͷྖҬ͔ΒϝϧΧϦͷ඼࣭Λࢧ͑Δ

    View full-size slide

  10. The Strategy
    and The Philosophy

    View full-size slide

  11. • ͳʹΑΓ΋ϢʔβʔʹՁ஋Λಧ͚Δ͜ͱΛ࠷༏
    ઌʹ͢Δ
    • ٕज़͸΋ͪΖΜେࣄ
    • ͚ͩͲ "͜ͷٕज़Λ࢖͍͍͔ͨΒ" ͱ͍͏Ϟν
    ϕʔγϣϯͰ͸ͳ͍
    • ͦΕͰͲΜͳՁ஋Λಧ͚Δ͔?
    ϓϩμΫτϑΝʔετ

    View full-size slide

  12. ਐΈͳ͕Β௚͢
    • ։ൃΛଓ͚͍ͯΕ͹ɺ౰વ "ٕज़తෛ࠴" ΋ͭΈ͔
    ͞ͳΔ
    • ΋ͪΖΜ͍ͭ΋ɺ"ͦͷͱ͖͸ਖ਼͍͠"
    • ௚͍͔ͯ͠ͳ͚Ε͹͍͚ͳ͍
    ͔͠͠ɺॏཁͳͷ͸αʔϏεͱͯ͠੒௕͠ଓ͚Δ͜ͱ
    => ௚ͨ͢ΊʹาΈΛࢭΊͯ͠·ͬͨΒҙຯ͕ͳ͍ ...
    ܾண͕͍ͭͯ͠·͏

    View full-size slide

  13. దࡐదॴͷٕज़બ୒
    • ಛఆٕज़΁ͷͩ͜ΘΓ͸
    • ϓϩϑΣογϣφϧͱͯ͠ͷͩ͜ΘΓ͸΋ͪΖΜ
    ॏཁ
    • ͔ͦ͠͠Ε͸ԿΛ͢ΔͨΊ͔? Ͳ͏͋Δ΂͖͔ͩΒ
    ͳͷ͔?
    • PHP, Go, Swift, Objective-C, Java, Python ... etc.
    ͦͷ໰୊Λղܾ͢ΔͨΊʹඞཁͳٕज़͸ͳʹ͔?

    View full-size slide

  14. ϛογϣϯɾόϦϡʔ
    • ϝϧΧϦͷϛογϣϯ
    • ৽ͨͳՁ஋ΛੜΈͩ͢ੈքతͳϚʔέοτϓϨΠε
    Λ૑Δ
    • όϦϡʔ
    • Go Bold
    • All for One
    • Be Professional
    ͜ΕΒ͸ΤϯδχΞͱͯ͠΋ڞ௨ͷߦಈݪཧɾՁ஋؍

    View full-size slide

  15. Hiring Engineer

    View full-size slide

  16. • ίʔυΛݟΔ͜ͱͳ͘࠾༻Λ͠ͳ͍
    • ·ͨɺݟΔ΂͖͸ "PHPྗ" ͳͲͷಛఆͷٕज़
    ྖҬͷ஌ࣝͰ͸ͳ͍
    • ಛఆͷٕज़ྖҬʹݶఆ͞Εͳ͍ɺઃܭྗɺൃ૝
    ྗɺԠ༻ྗ
    ٕज़՝୊ͱٕज़໘઀

    View full-size slide

  17. • ʮΤϯδχΞܦݧͷ͋Δਓࣄʯ΍ʮͪΐͬͱΘ͔
    ΔਓࣄʯͰ͸ͳ͘ɺΤϯδχΞ͕ਓࣄ
    • όϦόϦίʔυͷ͔͚ΔɺୈҰઢͰઓ͑ΔΤϯδ
    χΞ͕ϑϧίϛοτ
    • ީิऀʹͱͬͯ΋ɺϝϧΧϦͷ։ൃΛཧղ͠΍͢
    ͘ັྗʹࢥͬͯ΋Β͑Δ
    ΤϯδχΞਓࣄ

    View full-size slide

  18. • ৽ଔ࠾༻Λ ϝʔϧΞυϨεͱ GitHub ͷ URL
    ͚ͩͰԠืͰ͖ΔΑ͏ʹͯ͠Έͨ
    • ఆܕจΛίϐϖͨ͠ཤྺॻΑΓ΋ɺ࠷΋Θ͔Γ
    ΍͍͢Ξ΢τϓοτ
    • (΋ͪΖΜࢦඪ͸ͦΕ͚ͩͰ͸ͳ͍͚ΕͲ)
    • ଞࣾͱҟͳΔ͜ͱΛࢼ͍ͯ͘͠
    GitHub ΤϯτϦʔ

    View full-size slide

  19. Trainings and Careers

    View full-size slide

  20. • શһඞͣϝϯλʔΛ͚ͭΔ
    • ͳΜͰ΋ฉ͚Δઌഐࣾһ
    • ຖ೔ͷ 1on1
    • ࠔͬͨ͜ͱɺ௚ͯ͠ཉ͍͜͠ͱ
    ϝϯλʔ

    View full-size slide

  21. • શһ CS ݚम
    • ϢʔβʔʹҰ൪͍ۙͱ͜ΖΛܦݧ͢Δ
    • ࣮ࡍʹCSۀ຿Λߦ͏
    • SRE ݚम
    • ৽ଔ͸1ϲ݄·Δ·ΔSREͱͯ͠࢓ࣄ
    SREݚमɺCSݚम

    View full-size slide

  22. • ࢛൒ظ͝ͱͷϓϩδΣΫτ΁ͷߩݙʹՃ͑ɺٕ
    ज़ߩݙΛධՁ͢Δ
    • ϦϑΝΫλϦϯά΍υΩϡϝϯςʔγϣϯɺ৽
    ͍ٕ͠ज़΁ͷτϥΠͳͲͳͲ ...
    • ٕज़తͳ՝୊ײͱɺͦΕ΁ͷऔΓ૊Έ
    ٕज़ධՁ

    View full-size slide

  23. ΩϟϦΞ
    ΤϯδχΞ
    ΤϯδχΞϦϯάϚωʔδϟʔ ϓϦϯγύϧΤϯδχΞ

    View full-size slide

  24. • ૊৫ͷ໘͔ΒϝϧΧϦͷΤϯδχΞϦϯάΛࢧ
    ͑Δ
    • ܦӦɺϓϩμΫτϚωʔδϟʔͱͷ։ൃ໘ͷΧ
    ΢ϯλʔύʔτ
    ΤϯδχΞϦϯάϚωʔδϟʔ

    View full-size slide

  25. • ϓϩϑΣογϣφϧ৬
    • ٕज़ͷ໘͔ΒϝϧΧϦͷΤϯδχΞϦϯάΛࢧ
    ͑Δ
    • ಛఆ·ͨ͸ෳ਺ͷٕज़ྖҬͰͷ୎ӽٕͨ͠ज़ྗɺ
    ·ͨɺͦΕʹΑΔࣄۀߩݙ
    ϓϦϯγύϧΤϯδχΞ

    View full-size slide

  26. • άϨʔυ͸ಉ౳
    • ࠷લઢͰ௒׆༂͢ΔΤϯδχΞ͸ɺܦӦਞͱಉ
    ͡ϨϕϧͷධՁΛ͏͚Δ
    ϚωʔδϟʔͱϓϦϯγύϧ

    View full-size slide

  27. ΤϯδχΞͷ
    ࣗൃతͳߦಈΛࢧԉ͢Δ੍౓ɾ؀ڥ

    View full-size slide

  28. • ϒϩάΛॻ͘͜ͱɺൃද͢Δ͜ͱ
    • ΧϯϑΝϨϯεͰͷൃද͸ɺւ֎Ͱ΋ࠃ಺Ͱ΋ɺ
    ͢΂ͯͷඅ༻Λෛ୲ɺ΋ͪΖΜग़ுѻ͍
    Ξ΢τϓοτ͸ਖ਼ٛ

    View full-size slide

  29. • ʮւ֎ΧϯϑΝϨϯε΁ͷࢀՃʯ
    • (ௌߨऀͱͯ͠)
    • Ξ΢τϓοτ͍ͯ͠Δਓʹ͸ͦͷݖར͕͋Δ
    • ීஈ͔Βϒϩάॻ͘ɺOSS׆ಈɺษڧձͰͷൃදͳͲ
    • ౉ߤඅɺνέοτɺ॓ɺ͢΂ͯෛ୲
    • ΋ͪΖΜग़ۈ೔ͱͯ͠ྑ͍
    Ξ΢τϓοτ͢Δਓʹ͸ΠϯϓοτͷݖརΛ

    View full-size slide

  30. • ݄1೔ͷʮͳʹͯ͠΋ྑ͍೔ʯ
    • ϓϩδΣΫτҎ֎ͷ͜ͱʹऔΓ૊Ή
    • ϦϑΝΫλϦϯάɺυΩϡϝϯςʔγϣϯɺ৽͍͠
    ٕज़΁ͷτϥΠɺϒϩάΛॻ͘ɺͳͲͳͲ
    • ͋Β͔͡Ί೔ΛఆΊΔ͜ͱͰߦಈΛى͜͠΍͘͢͢
    ΔɺඇΤϯδχΞ͔Βͷڠྗ΋ಘ΍͍͢
    Be Professional Day
    ࢀߟ: ޫ஗͍໰୊Λࠀ෰ͯ͠composerΛ10ഒ଎ͨ͘͠࿩
    http://tech.mercari.com/entry/2016/02/01/164829

    View full-size slide

  31. • ݸਓͷςετ༻ΠϯελϯεɺΫϥ΢υ্ͷ৽αʔϏεΛࣗ
    ༝ʹ࢖͏͜ͱ͕Ͱ͖Δ
    • SSOαʔϏεΛར༻ͯ͠ɺձࣾΞΧ΢ϯτʹݸਓݸਓͷ؀ڥ
    Λఏڙ
    • ؾʹͳΔAWSαʔϏε΍GCPαʔϏεΛࢼ͢ ... ɺbot࡞Δ͔
    ΒαʔόʔΛ ... ɺػցֶशࢼ͔͢ΒGPUΠϯελϯεΛ ...
    ͳͲ
    • ؾܰʹࢼ͢ → Կ͔ͭ͘Δ
    • ʮԿ͔Ϟϊ͕͋Δʯ͜ͱ͕ਓΛಈ͔͢
    AWS ͱ GCP

    View full-size slide

  32. • ݸਓ৘ใɾϓϥΠόγʔ৘ใͷϚεΫ͞Εͨຊ
    ൪DBͷϨϓϦέʔγϣϯ
    • ੜͷσʔλΛ͙͢ʹѻ͑Δ
    • ͳΜͰ΋ूܭɺͳΜͰ΋ࢼ͢
    • ݸਓςετ༻ AWS ͳͲ͔Β௚઀ͭͳ͛Δ
    anon db

    View full-size slide

  33. • ৽͍͠ MacBook Pro ΁ͷަ׵΋ͪΖΜOK
    ି༩PC͕͍ͭͰ΋ަ׵ՄೳʹͳΓ·ͨ͠ - ຊ࣭Λ
    ߟ͑ɺେ୾ʹϧʔϧվม
    http://mercan.mercari.com/entry/2016/12/05/140000
    ି༩PC͍ͭͰ΋ަ׵OK (͓·͚)

    View full-size slide

  34. The Challenge

    View full-size slide

  35. • JP <- 9 hours -> UK <- 8 hours -> US
    • ཱࣗͨ͠νʔϜͰ͋Γͭͭίϛϡχέʔγϣϯ
    ΛͱΔ
    • Chromebox (Hangout༻STB)
    • ग़ு
    • ʮՈ͔ΒMTGࢀՃ͔ͯ͠Βग़ࣾ͠·͢ʯ
    ڌ఺Λ·͍ͨͩ։ൃνʔϜ

    View full-size slide

  36. • ι΢κ΢ࣾʮϝϧΧϦΞοςʯ
    • ࣠͸ϝϧΧϦɺ͚ͩͲ৽͍͠νϟϨϯδ΋ͯ͠
    ͍͘
    ࣄۀͷ֦େͱଟ֯Խ

    View full-size slide

  37. • ৽͍ٕ͠ज़΁ͷνϟϨϯδ
    • (΋ͪΖΜࣗൃతͰ͋Γͳ͕Β)
    • ͱΕΔબ୒ࢶ͕૿͑Δ
    • ΤϯδχΞΛҭͯΔ
    ٕज़ྖҬɺબ୒ͷଟ༷Խ

    View full-size slide

  38. • ڌ఺++
    • ਓ਺++
    • νʔϜ++
    • ੈքతͳϚʔέοτϓϨΠεΛ࣮ݱ͢ΔͨΊʹ
    ඞཁͳ͜ͱ
    ϓϩμΫτνʔϜͷ֦େ

    View full-size slide

  39. Moving Beyond Borders

    View full-size slide

  40. • αʔϏεΛ೔ຊ͚ͩͰͳ͘ੈքͰల։͍ͯ͘͠
    • ͦͷͨΊͷࠃڥΛ௒͑ͨ։ൃνʔϜΛ࡞͍ͬͯ
    ͘
    • ͜Ε·Ͱ௒͑ΒΕͳ͔ͬͨ΋ͷΛ௒͍͑ͯ͘

    View full-size slide

  41. Today's Highlight

    View full-size slide

  42. 15:00 This is mercari, This is a SRE. ࠤʑ໦ ݈Ұ
    15:20 ඼࣭޲্ͷऔΓ૊Έ ླ໦ ঵ਅ
    15:45 άϩʔόϧల։Λࢧ͑ΔྔࢠతͳαʔϏεઃܭ த໺ ୓
    16:05 ΞϓϦϑΝʔετͷӨͰؤுΔWebͷ࿩ ࡔຊ ݁ҥ
    16:30 ϝϧΧϦiOSΞϓϦ։ൃͷݱঢ়ͱ͜Ε͔Β ੴ઒ ௚थ
    16:50 High ҙࣝ Android ߴࢁ ੐େ
    17:15 ΤϯδχΞͷ૊৫ͱ࠾༻
    ύωϥʔɿ৽Ҫ ܒଠ/௽Ԭ ୡ໵/ֿݪ ݡ༞
    ϞσϨʔλʔɿฑ୔ ૱ଠ࿠

    View full-size slide

  43. 17:15 ΤϯδχΞͷ૊৫ͱ࠾༻
    ύωϧσΟεΧογϣϯ
    ฉ͖͍ͨ͜ͱड෇த
    http://bit.ly/merday-qa

    View full-size slide