Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

自社とLINEの「ユーザー」を設計する

321 views

Published on

2019-08-20 ズボラ旅 x LINE Night!! #3

Published in: Software
  • Be the first to comment

  • Be the first to like this

自社とLINEの「ユーザー」を設計する

  1. 1. LINE Hotspring, Inc. Koji Nishikiori
  2. 2. • Hotspring • • PM • Golang, Ruby on Rails, Java(Spring), Javascript, GCP, GKE, gRPC, Firebase • • Twitter: @cotton_ori
  3. 3. User
  4. 4. User is … • / • ID • , GDPR • CGM contents, metadata •
  5. 5. 2018.11 User • LINE 100% • LINE • LINE ID
  6. 6. 2018.11 • Web • • Email • Email LINE ID
  7. 7. 😇😇😇
  8. 8. User • / => Firebase Authentication • ID • , GDPR => LINE ID • CGM contents, metadata => •
  9. 9. 2018.11 ToDo • ID , • User entity LineUser entity • • Microsevice • • Golang on GKE
  10. 10. MicroServices 2018.11 • UserService • • ChatService • LINE API • UserService
  11. 11. User id uint64 LineUser id uint64 user_id uint64 external_id string UserService
  12. 12. ChatService • LINE API follow event Cloud Pub/Sub POST • UserService User • Text Message LINE • LINE API call
  13. 13. • 1 Memory usage 10MiB • 1Node( ) • •
  14. 14.
  15. 15. 2019.04
  16. 16. 2019.04 User • Web • • Email • Email Email LINE LINE • LineUser •
  17. 17. 2019.04 ToDo • • LINE Emal • Firebase Authentication
  18. 18. LineUser id uint64 user_id uint64 external_id string UserService User id uint64 email string first_name string last_name string phone_numbe r string Identities user_id uint64 firebase_id string last_sign_in time
  19. 19. TravelService • • UserService • Firebase Authentication Token UserService Verify • UserService
  20. 20. UserService • Email • Token Firebase Authentication Verify Auth Server • Microservice UserService
  21. 21. • Email LINE • • ID • / Firebase

×