Skip to content

Commit 782bc6c

Browse files
committed
update README
1 parent d74da3e commit 782bc6c

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

_14_eshop/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The microservice example built quickly by Sponge mainly realizes the flash sale and order functions, and ensures data consistency through the distributed transaction manager DTM. The system architecture is shown in the following figure:
44

5-
![flash-sale-order-cache](https://raw.githubusercontent.com/zhufuyi/sponge_examples/main/assets/flash-sale-order-cache.png)
5+
![eshop-framework](https://raw.githubusercontent.com/zhufuyi/sponge_examples/main/assets/eshop-framework.png)
66

77
<br>
88

@@ -12,7 +12,7 @@ This includes [two source code examples](https://github.com/zhufuyi/sponge_examp
1212

1313
### Environment Setup
1414

15-
To build this e-commerce system, you need the following tools and dependencies:
15+
Prepare a tool for building microservices quickly:
1616

1717
- **[Sponge](https://github.com/zhufuyi/sponge)**: A tool for rapidly generating service and module code for different systems. Follow the [Sponge installation guide](https://github.com/zhufuyi/sponge/blob/main/assets/install-en.md) for more information.
1818

@@ -85,9 +85,9 @@ All services will be running on a virtual machine with the IP address `192.168.3
8585

8686
<br>
8787

88-
### Rapid Development of an E-Commerce System Using Sponge
88+
### Quickly build microservices with sponge
8989

90-
The simplified e-commerce system consists of the following eight microservices:
90+
The system consists of 8 microservices:
9191

9292
- **eshop_gw**: API gateway service
9393
- **user**: User service

_14_eshop/readme-cn.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

2-
使用Sponge快速构建的微服务示例,主要实现抢购和订单功能,并通过分布式事务管理器DTM确保数据一致性,系统架构如下图所示:
2+
使用Sponge快速构建的微服务示例,主要实现秒杀抢购和订单功能,并通过分布式事务管理器DTM确保数据一致性,系统架构如下图所示:
33

4-
![flash-sale-order-cache](https://raw.githubusercontent.com/zhufuyi/sponge_examples/main/assets/flash-sale-order-cache.png)
4+
![eshop-framework](https://raw.githubusercontent.com/zhufuyi/sponge_examples/main/assets/eshop-framework.png)
55

66
<br>
77

@@ -11,7 +11,7 @@
1111

1212
### 准备环境
1313

14-
为了构建这个电商系统,准备生成代码工具
14+
准备一个快速构建微服务的工具
1515

1616
- **[Sponge](https://github.com/zhufuyi/sponge)**: 快速创建不同类型服务和模块代码。点击 [Sponge 安装说明](https://github.com/zhufuyi/sponge/blob/main/assets/install-cn.md) 以获取更多信息。
1717

@@ -106,9 +106,9 @@ DTM下载地址:https://github.com/dtm-labs/dtm/releases/tag/v1.18.0
106106

107107
<br>
108108

109-
### 使用sponge快速构建电商系统
109+
### 使用sponge快速构建微服务
110110

111-
简易版电商系统由以下 8 个微服务组成:
111+
系统主要由以下 8 个微服务组成:
112112

113113
- **eshop_gw**:API 网关服务
114114
- **user**:用户服务

assets/eshop-framework.png

220 KB
Loading

0 commit comments

Comments
 (0)