第九周作业
一、业务基本场景
1、创建秒杀活动
2、商品浏览
3、抢购下单,预扣库存
4、付款购买,实际扣库存
5、超时未支付,重新增加到库存
二、用户规模和性能估算
1、日活 100W 用户,50W 人参加秒杀,假设都在秒杀开始前 10 秒进入页面,秒杀开始后 5 秒内点击抢购
2、商品浏览:5 万 QPS
3、抢购下单:10 万 TPS






一、业务基本场景
1、创建秒杀活动
2、商品浏览
3、抢购下单,预扣库存
4、付款购买,实际扣库存
5、超时未支付,重新增加到库存
二、用户规模和性能估算
1、日活 100W 用户,50W 人参加秒杀,假设都在秒杀开始前 10 秒进入页面,秒杀开始后 5 秒内点击抢购
2、商品浏览:5 万 QPS
3、抢购下单:10 万 TPS
评论