在通知系统的规模估算中,给定 5000 万 DAU、每人每天 5 条通知、峰值 1 分钟 100 万条,你如何计算每天通知量、峰值 QPS 以及存储需求?
In notification system scale estimation, given 50M DAU, 5 notifications/user/day, and peak 1M notifications in 1 minute, how do you compute daily volume, peak QPS, and storage requirements?
题目类型: 技术面试题
这是一道技术面试题,常见于澳洲IT公司面试中。
难度: medium
分类: system-design, capacity-planning
标签: scale-estimation, qps, storage-estimation, dau, peak-load
参考答案摘要
TL;DR 每日通知量 = 5000 万 × 5 = 2.5 亿/天;峰值 QPS ≈ 100 万 / 60 ≈ 17000/秒;若平均每条通知数据 1KB,则用户数据约 50GB,通知日志每天约 250GB。 计算过程 Notifications per day :50M × 5 = 250M/day Peak notifications per second :1M / 60 ≈ ~17,00...
本题提供 STAR 原则详细解答和技术解析,登录匠人学院学习中心即可查看完整答案。