GoogleCloudPlatform /microservices-demo
Sample cloud-first application with 10 microservices showcasing Kubernetes, Istio, and gRPC.
★ 21,188⑂ 10,685👁 246⑃ 3,154● 420▤ 33
+0
日增长
+56
周增长
+146
月增长
21,188
stars
10,685
forks
246
watchers
3,154
prs
420
issues
33
releases
README
-- !Continuous Integration Online Boutique is a cloud-first microservices demo application. The application is a web-based e-commerce app where users can browse items, add them to the cart, and purchase them. Google uses this application to demonstrate how developers can modernize enterprise applications using Google Cloud products, including: Google Kubernetes Engine (GKE), Cloud Service Mesh (CSM), gRPC, Cloud Operations, Spanner, Memorystore, AlloyDB, and Gemini. This application works on any Kubernetes cluster. If you’re using this demo, please ★Star this repository to show your interest! Note to Googlers: Please fill out the form at go/microservices-demo. Architecture Online Boutique is composed of 11 microservices written in different languages that talk to each other over gRPC. Find Protocol Buffers Descriptions at the ./protos directory. | Service | Language | Description | | ---------------------------------------------------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------- | | frontend | Go | Exposes an HTTP server to serve the website. Does not require signup/login and generates session IDs for all users automatically. | | cartservice | C | Stores the items in the user's shopping cart in Redis and retrieves it. | | productcatalogservice | Go | Provides the list of products from a JSON file and ability to search products and get individual products. | | currencyservice | Node.js | Converts one money amount to another currency. Uses real values fetched from European Central Bank. It's the highest QPS service. | | paymentservice | Node.js | Charges the given credit card info (mock) with the given amount and returns a transaction ID. | | shippingservice | Go | Gives shipping cost estimates based on the shopping cart. Ships items to the given address (mock) | | emailservice | Python | Sends users an order confirmation email (mock). | | checkoutservice | Go | Retrieves user cart, prepares order and orchestrates the payment, shipping and the email notification. | | recommendationservice | Python | Recommends other products based on what's given in the cart. | | adservice | Java | Provides text ads based on given context wor
Top issues
#622Unable to build / deploy on ARM25 comments · 2021-11-12#612Document each services' API endpoints10 comments · 2021-10-19#814Tidy up (and document) `.proto` files7 comments · 2022-05-06#641Increment profiler version at release time6 comments · 2021-11-26#591Base CPU/Memory Requests on Actual Usage6 comments · 2021-08-12#693Use Docker base images to distroless or scratch5 comments · 2022-01-20#675Enforce consistent JavaScript style5 comments · 2021-12-29#1231PersistentVolume with external storage support for in-cluster databases4 comments · 2022-11-03
Discussions
#3515Question about service-to-service communication patterns in Online Boutique1 comments · 2026-09-10#3420MSc Thesis0 comments · 2026-07-06#3045Diagrams generated with KubeDiagrams0 comments · 2025-08-14#2553Workload0 comments · 2024-05-15#2476Is there a way to introduce erros in microservices for demo purposes?1 comments · 2024-04-11#2231compose_mysql1 comments · 2023-10-31#1694Some pods in pending state1 comments · 2023-04-19#1291Skaffold 2.00 comments · 2022-11-22
Latest release
v0.10.7 v0.10.7 2026-09-18What's Changed 42+ dependencies updates containing bug fixes, security patches, and improvements by @renovate-bot, @olivi-eh Full Changelog: https://github.com/GoogleCloudPlatform/microservices-demo/compare/v0.10.6...v0.10.7