mirror of
https://github.com/donnemartin/system-design-primer.git
synced 2025-12-14 17:08:56 +03:00
Update README-zh-Hans.md
This commit is contained in:
@@ -65,9 +65,9 @@
|
||||
**如果你需要进行粗略的用量计算,请向你的面试官说明。**
|
||||
|
||||
* 每条推特的大小:
|
||||
* `tweet_id` - 8 字节
|
||||
* `user_id` - 32 字节
|
||||
* `text` - 140 字节
|
||||
* `tweet_id` - 8 bytes
|
||||
* `user_id` - 32 bytes
|
||||
* `text` - 140 bytes
|
||||
* `media` - 平均 10 KB
|
||||
* 总计: 大约 10 KB
|
||||
* 每月产生新推特的内容为 150 TB
|
||||
@@ -113,7 +113,7 @@
|
||||
* 查询**用户 图 服务**找到存储于**内存缓存**中的此用户的粉丝
|
||||
* 将推特存储于**内存缓存**中的**此用户的粉丝的主页时间轴**中
|
||||
* O(n) 复杂度操作: 1000 名粉丝 = 1000 次查找与插入
|
||||
* 将特推存储在**搜索索引服务**中,以加快搜索
|
||||
* 将推特存储在**搜索索引服务**中,以加快搜索
|
||||
* 将媒体存储于**对象存储**中
|
||||
* 使用**通知服务**向粉丝发送推送:
|
||||
* 使用**队列**异步推送通知
|
||||
|
||||
Reference in New Issue
Block a user