Skip to content

Commit

Permalink
update shorturl doc
Browse files Browse the repository at this point in the history
  • Loading branch information
kevwan committed Aug 29, 2020
1 parent 59ffa75 commit 3c688c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/shorturl.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

<img src="images/shorturl-arch.png" alt="架构图" width="800" />

* 这里把shorten和expand分开为两个微服务,并不是说一个远程调用就需要拆分为一个微服务,只是为了最简演示多个微服务而已
* 后面的redis和mysql也是共用的,但是在真正项目里要尽可能每个微服务使用自己的数据库,数据边界要清晰

## 2. 准备工作

* 安装etcd, mysql, redis
Expand Down

0 comments on commit 3c688c3

Please sign in to comment.