V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
mortonnex
V2EX  ›  程序员

一个压测相关的问题

  •  1
     
  •   mortonnex · Apr 10, 2018 · 1342 views
    This topic created in 2944 days ago, the information mentioned may be changed or developed.
    用的 siege

    命令是:
    siege -c 255 -t 10M 127.0.0.1:8100/buy


    结果是:
    Transactions: 278 hits
    Availability: 21.34 %
    Elapsed time: 12.89 secs
    Data transferred: 0.03 MB
    Response time: 5.78 secs
    Transaction rate: 21.57 trans/sec
    Throughput: 0.00 MB/sec
    Concurrency: 124.68
    Successful transactions: 0
    Failed transactions: 1025
    Longest transaction: 12.57
    Shortest transaction: 0.00


    为什么 Concurrency: 124.68
    最高并发才 124,命令指定的并发是 255 啊?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   960 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 23:36 · PVG 07:36 · LAX 16:36 · JFK 19:36
    ♥ Do have faith in what you're doing.