Giter VIP home page Giter VIP logo

Comments (5)

mhausenblas avatar mhausenblas commented on July 19, 2024

Thanks a lot @rajusreenivasan and this is an excellent suggestion, happy to extend the tool into this direction!

Now, the output you see is expected (in its current implementation) as the target is launched in-process and the HTTP API call also is in-process. Technically, there are two Go routines running with one being the target binary that is assumed to expose a HTTP API and one that carries out the load testing.

It should be straight-forward to add a, say --base-url parameter that defaults to http://127.0.0.1 and that you can use to point it to an external API.

Does this make sense?

from right-size-guide.

mhausenblas avatar mhausenblas commented on July 19, 2024

Added support for the base URL in v0.96. I do note, however, that the results might not be what you'd expect in a real-world setup (since the load is now in the external service rather than in the process itself, which was the intention of the stress test in the first place). Let me know what you think, please.

from right-size-guide.

rajusreenivasan avatar rajusreenivasan commented on July 19, 2024

from right-size-guide.

mhausenblas avatar mhausenblas commented on July 19, 2024

The tool measures the resource usage of --target.

from right-size-guide.

rajusreenivasan avatar rajusreenivasan commented on July 19, 2024

"It should be straight-forward to add a, say --base-url parameter that defaults to http://127.0.0.1 and that you can use to point it to an external API. Does this make sense?"
Definitely, this solution should solve our problem. Thanks for considering our requirement.

from right-size-guide.

Related Issues (3)

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.