Giter Site home page Giter Site logo

Comments (5)

tsenart avatar tsenart commented on July 21, 2024

Hello Sebastian. This is a duplicate to the only current open issue #19. I have to set apart some time to look into it. Thank you for reporting!

from vegeta.

spier avatar spier commented on July 21, 2024

Thanks for the reply :)

I saw the other issue but I cared less about potential timeouts but rather about slow responses, which is why I filed this as a suggestion. So the two issues might be related but not the same I think.

from vegeta.

tsenart avatar tsenart commented on July 21, 2024

Well, a client side timeout is the same as setting a time threshold for a request. Where exactly do you see the difference? If a flag is provided to specify a timeout for each request, and the server takes longer than that, then you will certainly see that on the errors section and on the plot as well.

from vegeta.

spier avatar spier commented on July 21, 2024

In my suggestion I actually just wanted to visually separate requests that are above and below the threshold. I don't want to force the requests to time out. The advantage is that one would still know how long the requests actually took that were above the threshold.

Use case could be:
Identify all API calls that are above a satisfactory response time. Then debug them one by one.

from vegeta.

tsenart avatar tsenart commented on July 21, 2024

You can just look at the plot generated by vegeta report and see which requests are above a certain threshold. For debugging them, you'd have to match up the approximate times of those requests with your server logs.

Assuming the latency is not in the network, but on the server creating the responses, I would recommend to actually just log requests that take longer than the threshold you have in mind. Everything is just clear that way and easier to inspect and correlate.

from vegeta.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.