Trên GitHub, GoogleCloudPlatform/microservices-demo đã đạt 21.0k sao, nhóm Developer Tools, ngôn ngữ Go. Sample cloud-first application with 10 microservices showcasing Kubernetes, Istio, and gRPC.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
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 words.
loadgenerator
Python/Locust
Continuously sends requests imitating realistic user shopping flows to the frontend.
Screenshots
Home Page
Checkout Screen
Quickstart (GKE)
Ensure you have the following requirements:
Google Cloud project.
Shell environment with gcloud, git, and kubectl.
Clone the latest major version.
git clone --depth 1 --branch v0 https://github.com/GoogleCloudPlatform/microservices-demo.git
cd microservices-demo/
The --depth 1 argument skips downloading git history.
Set the Google Cloud project and region and ensure the Google Kubernetes Engine API is enabled.
Access the web frontend in a browser using the frontend's external IP.
kubectl get service frontend-external | awk '{print $4}'
Visit http://EXTERNAL_IP in a web browser to access your instance of Online Boutique.
Congrats! You've deployed the default Online Boutique. To deploy a different variation of Online Boutique (e.g., with Google Cloud Operations tracing, Istio, etc.), see Deploy Online Boutique variations with Kustomize.
Once you are done with it, delete the GKE cluster.
Đọc thêm về GoogleCloudPlatform/microservices-demo ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/GoogleCloudPlatform/microservices-demo là nguồn chính thức.
GoogleCloudPlatform/microservices-demo có bao nhiêu sao?
GoogleCloudPlatform/microservices-demo có 21.0k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/GoogleCloudPlatform/microservices-demo. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
GoogleCloudPlatform/microservices-demo có phải mã nguồn mở không?
Có — GoogleCloudPlatform/microservices-demo phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/GoogleCloudPlatform/microservices-demo.
GoogleCloudPlatform/microservices-demo còn đang phát triển không?
Commit gần nhất trên GoogleCloudPlatform/microservices-demo là 1 tháng trước (theo timestamp GitHub). Repo có 10.5k fork — một chỉ báo về mức độ quan tâm của cộng đồng.
GoogleCloudPlatform/microservices-demo là gì?
GoogleCloudPlatform/microservices-demo (GoogleCloudPlatform/microservices-demo) là dự án Go trên GitHub. Theo mô tả gốc: Sample cloud-first application with 10 microservices showcasing Kubernetes, Istio, and gRPC.
GoogleCloudPlatform/microservices-demo so với các dự án Developer Tools khác thế nào?
GoogleCloudPlatform/microservices-demo được TopGit xếp vào nhóm Developer Tools, với 21.0k sao GitHub và viết bằng Go. Xem trang chủ đề Developer Tools trên TopGit để so sánh với các dự án tương tự theo số sao và mức độ hoạt động.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về microservices-demo?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về microservices-demo.