Giter Site home page Giter Site logo

Concurrent Clients mismatch about loadtest HOT 6 CLOSED

emil916 avatar emil916 commented on July 17, 2024
Concurrent Clients mismatch

from loadtest.

Comments (6)

alexfernandez avatar alexfernandez commented on July 17, 2024

Keep in mind that the latest version is creating concurrent clients on demand; if it cannot create 25 clients in the five assigned seconds it will report less, as in your case. Can you try with a longer time to see if it reaches 25? Thanks!

from loadtest.

emil916 avatar emil916 commented on July 17, 2024

I see. Honestly, I was actually thinking of how the cc (concurrent clients) option becomes useless when one specifies the rps. I feel like when the rps is specified loadtest should be the one to decide the most appropriate number of cc, based on the parameters (load, cpus, input size (file option) etc.).

I will test it out again and report the outcome here. If it matches my mental model I will close the issue, if that is okay with you. If not, feel free to close it.

Thank you!

Emil
PhD student from GW

from loadtest.

alexfernandez avatar alexfernandez commented on July 17, 2024

Oh, you are right! I did not notice the --rps above. Actually it's explicitly mentioned in the documentation:

Note: the `--concurrency` option will be ignored if `--requestsPerSecond` is specified;
clients will be created on demand.

from loadtest.

emil916 avatar emil916 commented on July 17, 2024

Oh, then my bad. Is it a new thing or was it like this since old times? (I dont have the most update version yet).

I think this Note should be shown as a warning when one uses both options anyways.

from loadtest.

alexfernandez avatar alexfernandez commented on July 17, 2024

It's a new thing for versions 8+ I think. Instead of showing the warning I opted for displaying the actual number of concurrent clients, perhaps it could be made more evident 🤔

from loadtest.

emil916 avatar emil916 commented on July 17, 2024

Alright, it all make sense now. Thanks! Closing the issue.

from loadtest.

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.