6 We develop a new microservice for cosmetics catalog Cosmetics Catalog Microservice Cosmetics catalog service New microservice Mercari App 1. Check the category is supported for barcode listing 2. Get product information by barcode 3. Fill the listing content by the product information
7 Architecture of our microservice gRPC server index Cloud Firestore Kubernetes cluster importer Create index on memory While initializing Cloud Firestore Trigger Admin server Update master data Update index when Firestore update event is triggered gRPC request
8 How we design the architecture 見出し Create design Doc Discuss in the team ● Decide requirements for the new feature ● Discuss about what kind of technologies we need ● Have some options for the design ● Create design doc by following the template in Mercari ● It has background, interface, architecture, etc... ● Review in the team ● Get review from other team ● Discuss again with reviews we got ● Re-design if it is needed Get review
9 How we create a new microservice ● Create a pull request to terraform repository ○ GCP project and some resources ● Create a pull request to proto repository ○ Client / Server module ● Implement the service ● Build the container image by CI ● Deploy the service on kubernetes cluster We can start a new microservice *really* quickly
12 What I have importance to work in my team Respect Communication Try to understand one’s idea correctly and respect it Communicate with each other in common language
14 Speak English between Japanese speakers! We decided to talk in English between Japanese speaker So that we can have casual chatting between any members and make our distance short