2019 DevDay
How FCU Speed Up to LINE
Shopping Monitor Workload?
> Yi-Chung Hung (winter)
> LINE Taiwan LINE Shopping QA Engineer
Slide 2
Slide 2 text
About LINE Shopping
Shopping Home Page
Search Similar Product Find the Item
Slide 3
Slide 3 text
System Components
Search /
Recommendation
Backend API
External CMS
Internal CMS
Partner Feed / Postback
API
Frontend / Web API
Slide 4
Slide 4 text
LINE SHOPPING
PROBLEM
FAIL
1
FUNCTION
FAIL
3
SERVER
FAIL
2
API
Slide 5
Slide 5 text
Agenda > What is FCU?
> Why is FCU important?
> How to measure status and get alert?
Slide 6
Slide 6 text
What is FCU
Slide 7
Slide 7 text
Filemanager Crontab-UI URL-Pinger
> Crontab-UI > Easily bring down all the schedule jobs
> URL-Pinger > support URL and follows redirects
> Filemanager > Help user manage url files
What is FCU
Crontab-UI
Crontab-UI
• Easy setup
• Plain text crontab
• Error log support
• Node.js
• Express
https://github.com/alseambusher/crontab-ui
Slide 10
Slide 10 text
URL-Pinger
URL Pinger
• Pings a URL
• Follows redirects
• Status Dashboard
• Python
• Flask
https://github.com/globocom/url-pinger
Slide 11
Slide 11 text
Why is FCU important
Slide 12
Slide 12 text
Why is FCU important
More than response time
User
2 SEC
Bounce Rate
User
40%
Slide 13
Slide 13 text
Filemanager Crontab-UI URL-Pinger
> Avoid limit team from reaching its goals
> Reduced team more monitor workload
> Avoid dysfunctional team sends out a huge ripple effect
Why is FCU important
Slide 14
Slide 14 text
How to measure status
and get alert
Slide 15
Slide 15 text
Status
> Any broken links by every minute
> Total error have 10 times per hour
> Http code status is correct
How to measure
Slide 16
Slide 16 text
How to measure
GET ALERT
STATUS CODE
TIME OUT
Slide 17
Slide 17 text
LINE SHOPPING
NO PROBLEM
PASS
1
FUNCTION
PASS
3
SERVER
2
API
PASS