LINE Spot and how we built it

LINE Spot and how we built it

"LINE Spot and how we built it " by LINE SPOT - Julian Shen at LINE Developer Meetup #11 https://linegroup.kktix.cc/events/20200410

2102a6b8760bd6f57f672805723dd83a?s=128

line_developers_tw

April 10, 2020
Tweet

Transcript

  1. Julian Shen/LINE SPOT Development

  2. What is LINE SPOT? Let’s start from a simple scenario

  3. Imagine This

  4. What Would You Do?

  5. Find Paste

  6. Coupons Recommenation

  7. Make a Reservation

  8. Need a ride?

  9. Discuss Discover Reserve Transport A Long Journey Lots of tools

    to use
  10. Put it all together Makes life easier

  11. LINE SPOT is  

  12. How we built it?

  13. None
  14. Microservices Architecture

  15. • ) ( ) ( • ( ( • (

    ( ( ) ( ) )
  16. Why Microservices?

  17. Let’s tell a story About LINE SPOT 

  18. history 2/4  2/6  2/5  LINE SPOT 2/6

    Open data, 
  19. None
  20. How we made it in such short time?

  21. What we have Location based UI POI database Location based

    Platform Open data
  22. Data schema change? Data migration Traffic might be high How

    to merge mask counts to DB? It’s a temporary feature
  23. Client API Gateway GraphQL Store Locator Coupon … Thrift Microservices

    in LINE SPOT
  24. 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 à
  25. Microservices in LINE SPOT Mask Service REST Open Data Collector

    Every 3 min Mask inventory Store mapping New à
  26. What benefits?

  27. No need to extend data schema This feature could easily

    to remove Mask inventory data could be keep in memory Could develop/deploy independently
  28. Got any problem?

  29. Performance tuning Problem in mapping stores

  30. 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?
  31. Performance Tuning Cache Connection pool tuning Query efficiency check thrift

    rest Load test Load test Call monitor
  32. API Gateway (GraphQL) API Services Load test Load test Query

    efficiency Call monitor Cache
  33. We can do more & better

  34. None
  35. None
  36. Thank you