Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 RPS per client limit? #1015

Closed
yorek opened this issue May 22, 2019 · 7 comments
Closed

500 RPS per client limit? #1015

yorek opened this issue May 22, 2019 · 7 comments

Comments

@yorek
Copy link

yorek commented May 22, 2019

Description of issue

It seems that using latest distributed version 0.11.0 on Debian Stretch or Ubuntu I cannot do more than around 500 RPS per locust slave. Slaves are 8GB 4CPU linux machines

Expected behavior

Scale as much as slave resources allows

Actual behavior

Each slaves stops at something around 500 RPS

Environment settings

  • OS: Linux (Debian or Ubuntu)
  • Python version: 3.6.8
  • Locust version: 0.11

Steps to reproduce (for bug reports)

Create a container based on python:3.6.8-stretchj and run a distributed locust. Try to send more then 500 HTTP request per second to an HTTP endpoint

@yorek
Copy link
Author

yorek commented May 22, 2019

Forgot to mention that using v 8.1 on Alpine Linux I don't have that problem (using exactly the same locust file)

@cgoldberg
Copy link
Member

add more local slaves so you can use all CPU cores

@yorek
Copy link
Author

yorek commented May 22, 2019

This doesn't answer the question completely. Don't understand why you closed the issue. Is there any know limit the prevents locust to have more the 500 RPS? With locust 8.1 I can easily do more, with locust 11, I can't. Any changes that may have introduced this limit?

@cgoldberg
Copy link
Member

This doesn't answer the question completely.
Don't understand why you closed the issue.

This is not a forum for questions... We only keep actionable bugs/issues open. For general questions, please join the Slack channel.

Is there any know limit the prevents locust to have more the 500 RPS?

no limits besides resources. But remember, locust only runs in a single process, so it won't make use of multiple cpu cores unless you use multiple slaves.

@yorek
Copy link
Author

yorek commented May 22, 2019

Thanks for the answers :)

@aldenpeterson-wf
Copy link
Contributor

aldenpeterson-wf commented May 22, 2019

This was in the body of the issue you opened:

For general questions about how to use Locust, use either the Slack link provided in the Readme or ask a question on Stack Overflow tagged Locust.

@yorek
Copy link
Author

yorek commented May 24, 2019

Yeah, but mine was not a general "how to use" question. It was: with version 8.1 I can do 550 RPS per locust while, running exactly the same locust file, with any version after that I can do only 350. It's a huge drop and it may be caused by a bug, a change in the used HTTP library or anything else. It looks like an issue to me, not an "how to" question. I though you may also be interested in knowing this and figuring out why....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants