Slide 1

Slide 1 text

Get Started with Live Commerce - Architecture of Mercari Channel - 2018.10.24 ライブ配信 Meet up 〜メルカリ × SHOWROOM〜 @oqrusk

Slide 2

Slide 2 text

Yusuke OKURA - @oqrusk - Johnny • Mercari • Backend Engineer (since 2018.03) • Live & Fashion project • Tech Lead (since 2018.07) • Experience • Internal IT Dept @ Large Frozen Food Company • Java Engineer @ Food EC Venture • Backend Engineer @ Navigation Service Venture • SRE @ Family Album Service Startup

Slide 3

Slide 3 text

• Live Commerce Service in mercari • Anyone can buy and sell on Live! • Service Launch • since 2017.07 • Release for Business who sell • since 2017.12 • UI Renewal ←New! • since 2018.10 About Mercari Channel

Slide 4

Slide 4 text

Architecture

Slide 5

Slide 5 text

• Media • Live Streaming • Transcoding • Contents Delivery • Communication • Real Time • Interactive • Many-to-Many • Shopping • Listing • Sales Promotion • Price Negotiation Functions of Live Commerce

Slide 6

Slide 6 text

Components of Mercari Channel Viewer’s Info Notification Comments Likes Stamps Video & Sound Product

Slide 7

Slide 7 text

Media ● Protocol ○ Live stream : RTMP ○ View: HLS ● Transcode ○ 1 source to 3 output ■ Quality (High/Mid/Low) ■ Adaptive Bitrate Stream ● Delivery ○ CDN ○ latency 10+sec

Slide 8

Slide 8 text

Communication ● Motivator ○ Comments ○ Stamps ○ Likes ○ Viewer Count ○ Notifications ● Many-to-Many Broadcast ● Real Time Sync

Slide 9

Slide 9 text

Shopping ● Real Time Update ○ New Listing ○ Price Change ○ Stock Inventory ● One-to-Many Broadcast ● Picture in Picture ○ Stay in Live

Slide 10

Slide 10 text

Few Resources & Tight Schedule 2 Months From Scratch 4 Engineers 2 Backend 1 iOS 1 Android

Slide 11

Slide 11 text

Using Cloud Services ● Cloud Hosted Streaming Package ○ Transcoder ○ Storage ○ CDN ○ Client SDK ● Performance ○ latency 10+ sec ● Cloud Hosted Database ○ NoSQL ○ Real time synchronize ● Client SDK ● Performance ○ 100k connections ○ 1000 query / sec

Slide 12

Slide 12 text

Architecture SHOPPING

Slide 13

Slide 13 text

Operation

Slide 14

Slide 14 text

Daily Operation - Manual • 24/7 Manual censoring • comments • content • speech • picture • Alert censor words • Report from customers

Slide 15

Slide 15 text

Emergency Operation - Monitoring System • Chat Ops • Monitoring System • Stackdriver • Mackerel • Kibana • Alerting • Slackbot with Zappier

Slide 16

Slide 16 text

Recap • Live Commerce Functions • Media • Communication • Shopping • Using Cloud Service • Wowza Streaming Cloud • Firebase Realtime Database • Operation • Manual censoring • Slack based monitoring

Slide 17

Slide 17 text

Thank you