Skip to content

Commit 6a52cb2

Browse files
committed
feat: chapter 17
1 parent c91dabf commit 6a52cb2

File tree

3 files changed

+34
-35
lines changed

3 files changed

+34
-35
lines changed

docs/.vitepress/config.mts

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export default defineConfig({
8888
{ "text": "设计 Yelp 或附近的朋友", "link": "/grokking/chapter-14" },
8989
{ "text": "设计 Uber 后端", "link": "/grokking/chapter-15" },
9090
{ "text": "设计 Ticketmaster", "link": "/grokking/chapter-16" },
91-
// { "text": "其他资源", "link": "/grokking/chapter-17" },
91+
{ "text": "其他资源", "link": "/grokking/chapter-17" },
9292
]
9393
},
9494
// {

docs/grokking/chapter-16.md

-34
Original file line numberDiff line numberDiff line change
@@ -286,37 +286,3 @@ COMMIT TRANSACTION;
286286
1. 持有该预订的服务器向所有持有该放映等待用户的服务器发送消息,这样这些服务器可以使所有需要更多座位的等待用户过期。
287287
2. 收到上述消息后,所有持有等待用户的服务器将查询数据库,查看现在有多少空余座位。这里使用数据库缓存可以大大提高效率,只需查询一次。
288288
3. 使所有需要预订超过可用座位数的等待用户过期。为此,**WaitingUserService** 需要遍历所有等待用户的 Linked HashMap。
289-
290-
## 参考资料
291-
292-
以下是一些有用的链接,可供进一步阅读:
293-
294-
1. **Dynamo** - 高可用的键值存储系统 -
295-
https://www.allthingsdistributed.com/files/amazon-dynamo-sosp2007.pdf
296-
297-
2. **Kafka** - 用于日志处理的分布式消息系统 -
298-
http://notes.stephenholiday.com/Kafka.pdf
299-
300-
3. **一致性哈希** - 原始论文 -
301-
https://www.akamai.com/es/es/multimedia/documents/technical-publicaticonsistent-hashing-andrandom-trees-distributed-caching-protocols-for-relieving-hot-spots-on-the-world-wide-webtechnical-publication.pdf)
302-
303-
4. **Paxos** - 分布式一致性协议 -
304-
https://www.microsoft.com/enus/research/uploads/prod/2016/12/paxos-simple-Copy.pdf
305-
306-
5. **并发控制** - 乐观并发控制方法 -
307-
http://sites.fas.harvard.edu/~cs265/papers/kung-1981.pdf
308-
309-
6. **Gossip 协议** - 用于故障检测等 -
310-
http://highscalability.com/blog/2011/11/14/using-gossip-protocols-for-failure-detection-monitoringmess.html
311-
312-
7. **Chubby** - 用于松耦合分布式系统的锁服务 -
313-
http://static.googleusercontent.com/media/research.google.com/en/us/archive/chubby-osdi06.pdf
314-
315-
8. **ZooKeeper** - 适用于互联网规模系统的无等待协调 -
316-
https://www.usenix.org/legacy/event/usenix10/tech/full_papers/Hunt.pdf
317-
318-
9. **MapReduce** - 大规模集群上的简化数据处理 -
319-
https://static.googleusercontent.com/media/research.google.com/en//archive/mapreduce-osdi04.pdf
320-
321-
10. **Hadoop** - 分布式文件系统 -
322-
http://storageconference.us/2010/Papers/MSST/Shvachko.p

docs/grokking/chapter-17.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# 参考资料
2+
3+
以下是一些有用的链接,可供进一步阅读:
4+
5+
1. **Dynamo** - 高可用的键值存储系统 -
6+
https://www.allthingsdistributed.com/files/amazon-dynamo-sosp2007.pdf
7+
8+
2. **Kafka** - 用于日志处理的分布式消息系统 -
9+
http://notes.stephenholiday.com/Kafka.pdf
10+
11+
3. **一致性哈希** - 原始论文 -
12+
https://www.akamai.com/es/es/multimedia/documents/technical-publicaticonsistent-hashing-andrandom-trees-distributed-caching-protocols-for-relieving-hot-spots-on-the-world-wide-webtechnical-publication.pdf)
13+
14+
4. **Paxos** - 分布式一致性协议 -
15+
https://www.microsoft.com/enus/research/uploads/prod/2016/12/paxos-simple-Copy.pdf
16+
17+
5. **并发控制** - 乐观并发控制方法 -
18+
http://sites.fas.harvard.edu/~cs265/papers/kung-1981.pdf
19+
20+
6. **Gossip 协议** - 用于故障检测等 -
21+
http://highscalability.com/blog/2011/11/14/using-gossip-protocols-for-failure-detection-monitoringmess.html
22+
23+
7. **Chubby** - 用于松耦合分布式系统的锁服务 -
24+
http://static.googleusercontent.com/media/research.google.com/en/us/archive/chubby-osdi06.pdf
25+
26+
8. **ZooKeeper** - 适用于互联网规模系统的无等待协调 -
27+
https://www.usenix.org/legacy/event/usenix10/tech/full_papers/Hunt.pdf
28+
29+
9. **MapReduce** - 大规模集群上的简化数据处理 -
30+
https://static.googleusercontent.com/media/research.google.com/en//archive/mapreduce-osdi04.pdf
31+
32+
10. **Hadoop** - 分布式文件系统 -
33+
http://storageconference.us/2010/Papers/MSST/Shvachko.p

0 commit comments

Comments
 (0)