Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
商品監視を支える技術.key.pdf
Search
s-ichikawa
March 22, 2018
0
86
商品監視を支える技術.key.pdf
s-ichikawa
March 22, 2018
Tweet
Share
More Decks by s-ichikawa
See All by s-ichikawa
15分で分かった気になるGraphQL
ichikawa
3
3.1k
GraphQL入門
ichikawa
3
1.1k
ReactPHPとの戯れ
ichikawa
0
500
SendGridで人生変わった
ichikawa
2
2.2k
Laravel with SendGrid
ichikawa
0
2.8k
Featured
See All Featured
Bash Introduction
62gerente
608
210k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
Docker and Python
trallard
40
3.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
The Language of Interfaces
destraynor
154
24k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
Transcript
ϝϧΧϦͷ ࢹΛࢧ͑Δٕज़ Mercari Server Side Tech Talk vol.2 ~CRE Night~
@ichikawa_0829
ࣗݾհ • @ichikawa_0829 • 20177݄ೖࣾ • Server Side Engineer •
CXI→CRE
Agenda • ϝϧΧϦCREʹ͍ͭͯ • ࢹΛࢧ͑Δٕज़
CXI (Customer Experience Improvement)
CXI (Customer Experience Improvement) CustomerExperience(ސ٬ମݧ)Λ Improvement(վળ)͢Δ?
ϝϧΧϦ • μϯϩʔυ 6000ສ(JP) • ग़ 1100ສҎ্ • GMVʢ૯औҾֹʣ݄ؒ100ԯԁҎ্ •
͜Ε͚ͩͷऔҾʹ͓͚Δސ٬ମݧΛࢧ͍͑ͯΔ ͷ͕ΧελϚʔαϙʔτʢҎԼCSʣ
ϝϧΧϦͷCS • CS͓٬͞·͕҆৺ɾ҆શʹϝϧΧϦΛͬ ͍͚ͯͨͩΔΑ͏ʹ༷ʑͳ͓͍߹Θͤͷ ରԠɺͷ͋ΔͷϞχλϦϯάΛߦͬ ͍ͯΔ • ઋɾԬʹڌ • 400໊
CXIͷׂ • CSޮతͳΦϖϨʔγϣϯΛՄೳʹ͢ΔπʔϧΛఏڙ ͢Δ͜ͱͰɺ͓٬͞·ͷΑΓΑ͍ମݧΛఏڙ͍ͯ͘͠ • ͓٬͞·͔Βͷ͓͍߹ΘͤʹదˍޮతʹରԠ͢Δ ͨΊͷπʔϧ • ίϝϯτͳͲΛࢹ͠Ϛʔέοτͷ݈શԽΛҡ࣋ ͢Δπʔϧ
• ෆਖ਼ϢʔβʔΛޮతʹऔΓకΔͨΊͷπʔϧ
CRE (Customer Reliability Engineering)
ϝϧΧϦʹ͓͚ΔCREͷׂ • 20181݄ʹൃ • CXIͰߦ͍ͬͯͨCSπʔϧͷվमͳͲͷۀ Ҿ͖ଓ͖୲ • ΫϥΠΞϯτɺSearchɺAIɺBIΤϯδχΞ͕ ՃΘΓɺ৴པੑ্ͷҝʹΑΓଟ֯తͳΞϓϩʔ ν͕Մೳʹ
CXIͱCREͷҧ͍ $9* $3& ސ٬ ओʹ$4ϝϯόʔ ओʹϝϧΧϦͷར༻ऀ ྗϙΠϯτ $4πʔϧͷվળ ΦϖϨʔγϣϯࣗಈԽ ͓͍߹Θͤ௨ใ͕ͦͦ
ൃੜ͠ͳ͍ঢ়گͮ͘Γ
ۙऔΓΈ • ͓٬͞·ಉ࢜ͷΩϟϯηϧػೳ • डऔධՁͷࣗಈԽ • ͍߹Θͤྨࢹπʔϧͷػցֶ शಋೖ • etc…
ࢹ
͜Ε·Ͱͷࢹ • ͜Ε·Ͱո͍͠ΩʔϫʔυΛొ͓͖ͯ͠ ग़࣌ʹඇಉظʹνΣοΫ͍ͯ͠Δ • ొͨ͠Ωʔϫʔυຖʹɺݕ͢Δɺඇදࣔ ʹ͢Δͷڍಈొ • ݕ͢Δϫʔυͷొखಈ
Mercari API Q4M Monitoring Worker en-queue de-queue hide/report
ࢹͷػցֶशೖ • ग़͞ΕΔͱGoogle Pub/SubΛհͯ͠ػցֶ शج൫ग़ΠϕϯτΛ௨ • ͋Γͱఆ͞ΕͨࣗಈͰඇදࣔʹ ͨ͠ΓCSπʔϧʹදࣔ͠CSͰ֬ೝ࡞ۀΛߦͬ ͨΓ͢Δ
Cloud PubSub • ϑϧϚωʔδυͷϦΞϧλΠϜ ϝοηʔδϯά αʔϏε • ݸผͷΞϓϦέʔγϣϯؒͰϝοηʔδͷૹड ৴͕Ͱ͖Δ •
ࠓճૹड৴͢ΔϝοηʔδΛProtobufͰγϦ ΞϥΠζ/σγϦΞϥΠζͯ͠༻
ࢹͷػցֶशೖ • ҩྍΞμϧτɺΩʔϫʔυཏྻͳͲ͍͘ ͔ͭͷϞσϧ͕ಈ͍͍ͯΔ • ఆ݁Ռͱͯ͠ͷ͋Δͩͬͨ߹ɺ ఆͷ֬ʹΑͬͯݕͷΈߦ͍CS֬ೝ͢Δ ͔ඇදࣔ·Ͱͯ͠͠·͏͔ܾఆ͍ͯ͠Δ(༧ఆ)
ࢹͷػցֶशೖ • ͷແ͍ͷר͖ࠐΈ͕ൃੜͯ͠͠·͏ ͨΊɺCSϦιʔεతʹͲΕ͘Β͍ରԠՄೳ͔ ૬ஊ͠ͳ͕Βࣗಈඇදࣔػೳͷ։์Λܾఆ Ͱ͖ΔΑ͏ʹ͍ͯ͠Δ
Mercari API Machine Learning Platform publish subscribe
CsTool API Machine Learning Platform Mercari API Worker publish subscribe
hide/report report
Mercari API Machine Learning Platform
CsTool API Machine Learning Platform Mercari API Worker
CsTool API Mercari API Worker Test Publisher
Deploy Monitoring CI
Deploy Monitoring CI
.protoϑΝΠϧ Client for PHP Client for Go Client for Python
branchΛpushͰ֤Clientͷ։ൃ ༻ίʔυͱPRΛࣗಈੜɻ masterʹmerge͞ΕΔͱClient ଆϚʔδ͞ΕΔ
Deploy Monitoring CI
None
• SpinnakerʹΑΔContinuous Delivery http://tech.mercari.com/entry/ 2017/08/21/092743 • ࣍ੈContinuous DeliveryϓϥοτϑΥʔϜͰ͋ ΔSpinnakerΛମݧͯ͠ΈΑ͏ʂ http://tech.mercari.com/entry/2017/12/17/
205719
Deploy Monitoring CI
None
·ͱΊͱࠓޙ • ৭ʑͳαʔϏε͕ܨ͕ͬͯࢹΛ࣮ݱͯ͠ ͍·͢ • ػցֶशతͳ෦ޙͷೋਓ͕ৄͯ͘͘͠͠ Ε·͢ • αʔϏεΛׂͨ͜͠ͱʹΑΓσϓϩΠςε τʹखֻ͕͔ؒΔΑ͏ʹͳͬͨͷͰվળ͍ͨ͠
·ͱΊͱࠓޙ • ػցֶश͕׆͖Δ෦ʹࠓޙੵۃతʹऔ ΓೖΕ͍͖͍ͯͨ • CSͷΦϖϨʔγϣϯͷݟؚ͠Ίͯπʔϧ վળΛߦ͍ͬͯ͘༧ఆ • ਓؒຯ͕ඞཁͳରԠʹCS͕࣌ؒΛͯΒΕΔ Α͏ͳঢ়گΛ࡞Δ
We Are Hiring! https://careers.mercari.com/job/
Thank you!