Slide 1

Slide 1 text

No content

Slide 2

Slide 2 text

Beyond Development

Slide 3

Slide 3 text

Brian Kuo LINE TRAVEL / Backend Engineer LINE TECH FRESH NTU IM / NTU CSIE

Slide 4

Slide 4 text

01 02 03 04 What Observability is and Why it is important Applying Observability to find error and improve Tech Stacks & Concepts I think you should need From 20 to 2 Seconds How I Prepare for LINE Interview An Organization Culture and work style I appreciate How is it like to be a LINER Intro to Observability CONTENT

Slide 5

Slide 5 text

Intro to Observability What it is and Why it is Important?

Slide 6

Slide 6 text

Observability Proactive Issue Detection Root Cause Analysis Performance Optimization Observability, What’s & Why’s

Slide 7

Slide 7 text

Metrics Logging Traces Three Pillars of Observability

Slide 8

Slide 8 text

Logging • Immutable / Timestamped record of discrete events • Structured (JSON) format • Record necessary info for each request Recording the system's state when each individual event occurs. Logging

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

Logging • Contains of: • ID: metric name + label • Sample: value + timestamp • Constant overhead (only value is updated) • Easy to configure alerting rules Quantitative insights into system performance and resource utilization. Metrics

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

Logging • End-to-end visibility • Critical path detection Detailed analysis of request flow and dependencies for effective troubleshooting. Traces

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

From 20 to 2 Seconds How we apply observability to find error and improve the performance

Slide 15

Slide 15 text

About the Hotel Query Feature Hotel query result cannot be returned and displayed within 30 seconds Problem Statement:

Slide 16

Slide 16 text

01 Alerting (Metrics) 02 Searching Error Info (Logging) Hotel query from ElasticSearch experienced an abnormally long execution Being alerted that we have encountered extremely slow execution time for hotel query Finding Error with Observability

Slide 17

Slide 17 text

03 Source of Error The findIndex method takes too long for matching key and id. The time complexity is O(mn) Finding Error with Observability A Simple Example

Slide 18

Slide 18 text

Improving the Time Complexity from O(mn) to O(m+n) Boosting Efficiency with Map AS IS TO BE n m

Slide 19

Slide 19 text

How I Prepare for LINE Interview Tech Stacks & Concepts I think you should need

Slide 20

Slide 20 text

Tech Stacks You Might Need

Slide 21

Slide 21 text

Referring to Others’ Experiences Trust me, It is very Important!

Slide 22

Slide 22 text

Also, Belief Matters… I’m really Superstitious…

Slide 23

Slide 23 text

How is it like to be a LINER An Organization Culture and work style I appreciate

Slide 24

Slide 24 text

No Stupid Questions Embracing Changes Everyone Matters Organization Culture of LINE

Slide 25

Slide 25 text

No Stupid Questions Embracing Changes Everyone Matters LIFE at LINE

Slide 26

Slide 26 text

Sharing From Last Year’s APCS Camp Visit

Slide 27

Slide 27 text

Feel free to contact me! 2100 特點項⽬⽂字 特點項⽬ Any Questions? 1234 特點項⽬⽂字 特點項⽬ 999 特點項⽬⽂字 特點項⽬ Facebook Linkedin

Slide 28

Slide 28 text

No content