Skip to content

Commit ac1df67

Browse files
authored
Update distributed-id-design.md
1 parent 7d53384 commit ac1df67

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/distributed-system/distributed-id-design.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,7 @@ UA 是一个特殊字符串头,服务器依次可以识别出客户使用的
9191

9292
4.支持用后核销;
9393

94-
5.优惠券、兑换券属于广撒网的策略,所以利用率低,也就不适合使用数据。
95-
96-
**库进行存储(占空间,有效的数据有少)**
94+
5.优惠券、兑换券属于广撒网的策略,所以利用率低,也就不适合使用数据库进行存储 **(占空间,有效的数据又少)**
9795

9896
设计思路上,需要设计一种有效的兑换码生成策略,支持预先生成,支持校验,内容简洁,生成的兑换码都具有唯一性,那么这种策略就是一种特殊的编解码策略,按照约定的编解码规则支撑上述需求。
9997

@@ -172,4 +170,4 @@ span 是层的意思,比如在第一个实例算是第一层, 请求代理
172170
- ID 映射的短网址:<https://dwz.cn/2047601319t66> (演示使用,可能无法正确打开)
173171
- 转进制后的短网址:<https://dwz.cn/2ezwDJ0> (演示使用,可能无法正确打开)
174172

175-
<!-- @include: @article-footer.snippet.md -->
173+
<!-- @include: @article-footer.snippet.md -->

0 commit comments

Comments
 (0)