lebron
lebron copied to clipboard
Highly concurrent mall system built on go-zero
最新基于go-zero的Go实战干货视频教程来啦
上B站搜索"只喝冰美式的程序员"即可找到我
微信公众号
lebron
Highly concurrent mall system built on go-zero
Architecture
A busy sum, when there is time to make up for it
Series of Courses
go-zero微服务实战系列(八、如何处理每秒上万次的下单请求)
Basic Environment
| Name | Description | Link |
|---|---|---|
| Go-Zero | Web & Rpc Go Frame | https://go-zero.dev/cn/ |
| Mysql | DB | https://www.mysql.com/ |
| Redis | Cache | https://redis.io/ |
| Docker | Code Runtime Environment | https://www.docker.com/ |
| MQ |
Code Components
| Name | Description | Link |
|---|---|---|
| sqlx | db table crud | |
| copier | copy value from struct to struct and more | github.com/jinzhu/copier |
Business Function

Server Port
API
| server name | port |
|---|---|
| api bff | 8001 |
RPC
| server name | port |
|---|---|
| user rpc | 9001 |
| product rpc | 9002 |
| order rpc | 9003 |