Skip to content

Commit 06155fb

Browse files
author
jiyang.li
committed
zk
1 parent 3ab6fda commit 06155fb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: 分布式相关.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
3. BestAvailable
3232
4. weighted
3333
### Zookeeper的用途,选举的原理是什么?选举策略?watch机制?
34+
- http://blog.jobbole.com/110388/
3435
1. 配置服务
3536
2. 分布式锁
3637
### 数据的垂直拆分?水平拆分?分库分表后,如何解决全表查询的问题?
@@ -47,9 +48,9 @@
4748
1.
4849
2.
4950
### 如何做一个分布式锁,应用场景?
50-
- 一般有三种实现方案,具体实现方式可以自己查。把一种记得特别熟就行了
51+
- 一般有三种实现方案
5152
1. redis:https://yq.aliyun.com/articles/307547
52-
2. zookeeper
53+
2. zookeeperhttp://www.54tianzhisheng.cn/2018/04/24/Distributed_lock
5354
3. mysql
5455
### 分布式唯一ID
5556
1. https://tech.meituan.com/dianping_order_db_sharding.html

0 commit comments

Comments
 (0)