• 请不要在回答技术问题时复制粘贴 AI 生成的内容
xoxo419
V2EX  ›  程序员

秒杀系统要能承受多少 TPS 才可以算是一个合格的秒杀呢?

  •  
  •   xoxo419 · Oct 16, 2020 · 5054 views
    This topic created in 2209 days ago, the information mentioned may be changed or developed.
    12 replies  •  2020-10-17 21:20:36 +08:00
    opengps
    opengps
    Oct 16, 2020 via Android
    1
    看具体用户量呗,总注册量,总用户量,时段总用户量,参与秒杀用户,一层一层下来,剩下的人数就是对压测指标的最低要求
    Jooooooooo
    Jooooooooo
    Oct 16, 2020
    2
    不像一个良好定义的问题
    xuanbg
    xuanbg
    Oct 16, 2020❤️3
    3
    秒杀的 TPS 和用户数没关系,只和秒杀商品的最大数量有关系。
    fewok
    fewok
    Oct 16, 2020
    4
    没啥标准,不过可以借鉴其他的标准,比如先来个 C10
    ggabc
    ggabc
    Oct 16, 2020❤️2
    5
    撑得住业务到活动结束就是标准
    1024com
    1024com
    Oct 17, 2020 via iPhone
    6
    访问峰值~
    mantianyu
    mantianyu
    Oct 17, 2020 via Android
    7
    和 tps 没关系,只要把商品消耗完,多余的用户排 1000 米长的队就是了
    Leigg
    Leigg
    Oct 17, 2020 via Android
    8
    学生才会问的问题
    tonghuashuai
    tonghuashuai
    Oct 17, 2020 via iPhone
    9
    秒杀系统的大部分用户请求都到不了 server 端,在前端就被拦下了,所以其实是个 [抽奖] 系统,凭运气。
    aonshuy
    aonshuy
    Oct 17, 2020 via Android
    10
    进不去才是秒杀系统的精髓
    Pythoner666666
    Pythoner666666
    Oct 17, 2020
    11
    可以学习一下 基本概念先了解了解 https://github.com/qiurunze123/miaosha
    ryh
    ryh
    Oct 17, 2020
    12
    秒杀系统不用那么公平,随机去掉绝大部分请求就是了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2243 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 15:52 · PVG 23:52 · LAX 07:52 · JFK 10:52
    ♥ Do have faith in what you're doing.