Slide 1

Slide 1 text

1

Slide 2

Slide 2 text

Agenda › LINE TODAY Services › Architecture › Modularized Page Setting › Features 2

Slide 3

Slide 3 text

LINE TODAY Stays With You Today 3 12:00 News International/ Entertainment 15:00 Official Account News / Economics 09:00 Recommendations Weather / News 18:00 LIVE News / Sports 21:00 Daily Life Poll / Quiz

Slide 4

Slide 4 text

THAILAND TAIWAN HONG KONG

Slide 5

Slide 5 text

LINE TODAY Taiwan 18M MAU

Slide 6

Slide 6 text

LINE TODAY Architecture 6 CDN Object Storage In Mem Cache Backend Server Frontend Server Cache Server Mini Service Feeding Service Internal CMS External CMS Vue.js Third Party API Content Provider Internal Editor External Editor Report Service Data Warehouse ML Data Analysis

Slide 7

Slide 7 text

LINE TODAY Architecture 7 CDN 96% Object Storage Backend Server Frontend Server Cache Server Mini Service Feeding Service Internal CMS External CMS Vue.js Third Party API Content Provider Internal Editor External Editor Report Service Data Warehouse ML Data Analysis 4% In Mem Cache

Slide 8

Slide 8 text

LINE TODAY Architecture 8 CDN Object Storage Frontend Server Cache Server Data Backend Server Mini Service Feeding Service Internal CMS External CMS Vue.js Third Party API Content Provider Internal Editor External Editor Report Service ML Data Analysis In Mem Cache

Slide 9

Slide 9 text

LINE TODAY Architecture 9 CDN Object Storage Backend Server Frontend Server Cache Server Mini Service Feeding Service Internal CMS External CMS Vue.js Third Party Content Provider Internal External Report Service Data ML Data Analysis Vue.js In Mem Cache

Slide 10

Slide 10 text

LINE TODAY Architecture 10 CDN Object Storage Frontend Server Cache Server Data Data Backend Server Mini Service Feeding Service Internal CMS External CMS Vue.js Third Party API Content Provider Internal Editor External Editor Report Service ML Data Analysis In Mem Cache

Slide 11

Slide 11 text

LINE TODAY Architecture 11 CDN Object Storage Frontend Server Cache Server Data Backend Server Mini Service Feeding Service Internal CMS External CMS Vue.js Third Party API Content Provider Internal Editor External Editor Report Service ML Data Analysis In Mem Cache

Slide 12

Slide 12 text

How to publish the contents ASAP? 12 Slow webpage loading Long cache time due to heavy traffic Bulky API response, no flexibility in portal page Problem Solutions HTTP/2 with new API design Decrease the cache time Modularized page setting

Slide 13

Slide 13 text

LINE TODAY Architecture 13 CDN Object Storage Backend Server In Mem Cache Frontend Server Cache Server Mini Service Feeding Service Internal CMS External CMS Vue.js Third Party API Content Provider Internal Editor External Editor Report Service Data Warehouse ML Data Analysis HTTP/2

Slide 14

Slide 14 text

How to publish the contents ASAP? 14 Problem Solutions Slow webpage loading Long cache time due to heavy traffic Bulky API response, no flexibility in portal page HTTP/2 with new API design Decrease the cache time Modularized page setting

Slide 15

Slide 15 text

LINE TODAY Architecture 15 CDN Object Storage Backend Server In Mem Cache Frontend Server Cache Server Mini Service Feeding Service Internal CMS External CMS Third Party API Content Provider Internal Editor External Editor Report Service Data Warehouse ML Data Analysis In Mem Cache In Mem Cache In Mem Cache In Mem Cache In Mem Cache

Slide 16

Slide 16 text

How to publish the contents ASAP? 16 Slow webpage loading Long cache time due to heavy traffic Bulky API response, no flexibility in portal page Problem Solutions HTTP/2 with new API design Decrease the cache time Modularized page setting

Slide 17

Slide 17 text

Modularized Page Setting 17 Headline news Latest news Topic Trending news Weather Quiz

Slide 18

Slide 18 text

Modularized Page Setting Editor Content Management System Page Subscribe Module Article Module Recommend Module Comment Module Page Mapping Rule Page Setting Service Subscribe Module Article Module Recommend Module Comment Module Storage Rule Page Rule Page Rule Page Rule Page Content Provider Rule Category Display Mode

Slide 19

Slide 19 text

Modularized Page Setting Editor Content Management System Page Subscribe Module Article Module Recommend Module Comment Module Page Setting Service Subscribe Module Article Module Recommend Module Comment Module Storage Rule Page Rule Page Rule Page Rule Page Content Provider Rule Category Display Mode Page Mapping Rule

Slide 20

Slide 20 text

Pros of Modularized Page Setting 20 Fast rendering Decrease API payload size Render first frame modules by Server-Side Render System Editor Easier configuration More configurable page pattern Reduce duplicated page setting

Slide 21

Slide 21 text

A/B Testing, Gradual Rollout Framework 21 Editor Content Management System Page A News Module Weather Module Fortune Module Page Setting Service Page B News Module AD Module Weather Module Page Mapping Rule Grou p A Page A Grou p B Page B News Weather Fortune News AD
 Weather User Grouping System User Group Mapping Group A User B ID Group B Group C User A ID

Slide 22

Slide 22 text

A/B Testing, Gradual Rollout Framework 22 Editor Content Management System Page A News Module Weather Module Fortune Module Page Setting Service Page B News Module AD Module Weather Module Page Mapping Rule Grou p A Page A Grou p B Page B News Weather Fortune News AD
 Weather User Grouping System User Group Mapping Group A User B ID Group B Get user group by user ID Group C User A ID Hash Hash 0 35 60 100

Slide 23

Slide 23 text

A/B Testing, Gradual Rollout Framework 23 Editor Content Management System Page A News Module Weather Module Fortune Module Page Setting Service Page B News Module AD Module Weather Module Page Mapping Rule Grou p A Page A Grou p B Page B User Grouping System User Group Mapping Group A User B ID Group B Group C User A ID News Weather Fortune News AD
 Weather AD
 Get user group by user ID

Slide 24

Slide 24 text

24 Features

Slide 25

Slide 25 text

Lottery 25 Instant News Official Account

Slide 26

Slide 26 text

Lottery Resources Tuning
 26 apiVersion: apps/v1
 kind: Deployment
 metadata:
 name: today-lottery-service
 spec:
 replicas: 2
 template:
 spec:
 containers:
 - name: today-lottery-service
 resources:
 requests:
 cpu: 250m
 memory: 1536Mi
 limits:
 cpu: 500m
 memory: 1536Mi

Slide 27

Slide 27 text

Lottery Resources Tuning
 27 Request Limit

Slide 28

Slide 28 text

Lottery Resources Tuning
 28 apiVersion: apps/v1
 kind: Deployment
 metadata:
 name: today-lottery-service
 spec:
 replicas: 2
 template:
 spec:
 containers:
 - name: today-lottery-service
 resources:
 requests:
 cpu: 250m
 memory: 1536Mi
 limits:
 cpu: 500m
 memory: 1536Mi AS IS apiVersion: apps/v1
 kind: Deployment
 metadata:
 name: today-lottery-service
 spec:
 replicas: 3
 template:
 spec:
 containers:
 - name: today-lottery-service
 resources:
 requests:
 cpu: 200m
 memory: 1024Mi
 limits:
 cpu: 500m
 memory: 1024Mi TO BE

Slide 29

Slide 29 text

Election 29

Slide 30

Slide 30 text

Quiz 30

Slide 31

Slide 31 text

Summary › LINE TODAY Micro-service Architecture › Modularized Page Setting: Fast rendering and efficient settings › A/B Testing Framework › Features 31

Slide 32

Slide 32 text

Thank you 32