知识卡片
从活跃用户推导QPS
平均 QPS 可按日活用户乘每人日操作次数,再除以一天秒数计算;峰值另加明确假设。存储按新增量乘单条大小和保留期估算。书中 Twitter 数字属于练习假设,不能作为真实公司流量事实。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 容量与性能估算 · 查看原书依据
Example: Estimate Twitter QPS and storage requirements Please note the following numbers are for this exercise only as they are not real numbers from Twitter. Assumptions: • 300 million monthly active users. • 50% of users use Twitter daily. • Users post 2 tweets per day on average. • 10% of tweets contain media. • Data is stored for 5 years. Estimations: Query per second
参考来源
- 位置:《System Design Interview – An insiders guide, Second Edition》第02章《容量与性能估算》(来源项目 book-sources;源文件:extracted/System Design Interview – An insiders guide, Second Edition/_epub-src/text/part0006_split_004.html)
- 结论依据:原文在该位置给出所述对象、机制或比较,支持本卡的解释;原书未展开的实现不作为已证明结论,算式与一致性边界在正文明确限定。
- 原始内容:Example: Estimate Twitter QPS and storage requirements Please note the following numbers are for this exercise only as they are not real numbers from Twitter. Assumptions: • 300 million monthly active users. • 50% of users use Twitter daily. • Users post 2 tweets per day on average. • 10% of tweets contain media. • Data is stored for 5 years. Estimations: Query per second