What is LINE SPOT?
Let’s start from a simple scenario
Slide 3
Slide 3 text
Imagine This
Slide 4
Slide 4 text
What Would
You Do?
Slide 5
Slide 5 text
Find Paste
Slide 6
Slide 6 text
Coupons
Recommenation
Slide 7
Slide 7 text
Make a Reservation
Slide 8
Slide 8 text
Need a ride?
Slide 9
Slide 9 text
Discuss Discover Reserve Transport
A Long Journey
Lots of tools to use
Slide 10
Slide 10 text
Put it all together
Makes life easier
Slide 11
Slide 11 text
LINE SPOT is
Slide 12
Slide 12 text
How we built it?
Slide 13
Slide 13 text
No content
Slide 14
Slide 14 text
Microservices Architecture
Slide 15
Slide 15 text
• ) ( )
(
• ( (
• ( ( ( )
( ) )
Slide 16
Slide 16 text
Why Microservices?
Slide 17
Slide 17 text
Let’s tell a story
About LINE SPOT
Slide 18
Slide 18 text
history
2/4
2/6
2/5 LINE SPOT
2/6 Open data,
Slide 19
Slide 19 text
No content
Slide 20
Slide 20 text
How we made it in
such short time?
Slide 21
Slide 21 text
What we have
Location based UI
POI database
Location based Platform
Open data
Slide 22
Slide 22 text
Data schema change? Data migration
Traffic might be high
How to merge mask counts to DB?
It’s a temporary feature
Slide 23
Slide 23 text
Client
API
Gateway
GraphQL
Store
Locator
Coupon
…
Thrift
Microservices in LINE SPOT
Slide 24
Slide 24 text
Client
API
Gateway
GraphQL
Store
Locator
Coupon
…
Thrift
Microservices in LINE SPOT
Mask
Service
REST
Open Data
Collector
Every 3 min
Mask inventory
Store mapping
New à
Slide 25
Slide 25 text
Microservices in LINE SPOT
Mask
Service
REST
Open Data
Collector
Every 3 min
Mask inventory
Store mapping
New à
Slide 26
Slide 26 text
What benefits?
Slide 27
Slide 27 text
No need to extend data schema
This feature could easily to remove
Mask inventory data could be keep in memory
Could develop/deploy independently
Slide 28
Slide 28 text
Got any problem?
Slide 29
Slide 29 text
Performance tuning
Problem in mapping stores
Slide 30
Slide 30 text
5902040112,,
,(08)8336068,0,5,2020/03/20 01:37:44
From Open Data
In LINE SPOT DB
000000000,-,
SPOT ID
How to make sure they are the same store?
Name? Address?
Slide 31
Slide 31 text
Performance Tuning
Cache
Connection pool
tuning
Query efficiency check
thrift
rest
Load test
Load test
Call monitor
Slide 32
Slide 32 text
API
Gateway
(GraphQL)
API
Services
Load test Load test
Query efficiency
Call monitor
Cache