-
Notifications
You must be signed in to change notification settings - Fork 24
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
High redis commands/second on parallelization > 1 #67
Comments
Hello @siassaj. That is indeed very interesting. I just want you to know that unfortunately at the time we do not have the resources to catch up on rspecq, so this is going to have to wait. Thank you for the report however. It will be on our radar. In the meantime, post your rspecq & redis configurations in order to cross-check them with ours, in case there is something obvious we can point you at. |
Figured it out, It's partly my own fault; Calling an rspecq worker with an empty file string is what causes it. My script looks a bit like below, and where $FILES is empty it passes "" to rspecq, which doesn't handle it well.
It causes most of rspecq's workers to just
so EDIT: I can put together a PR if you're likely to review it? |
Hi all
I'm experiencing weird redis thrash that's causing the test suite to go very long, and smash redis;
1 worker:
2 workers:
8 workers:
Further information:
1030 tests in spec suite
redis 3.2 running in a docker container
ruby 2.7.4 running in a docker container
gems:
rspec 3.9.0
rspecq 0.7.1
redis 4.1.2
redis-rails 5.0.2
Interestingly the cmd/s is fine for 1 worker, but with 2 or more workers it jumps orders of magnitudes into the 10s or 100s of thousaands and saturates the redis instance, slowing everything down.
I am running the commands with the following:
The text was updated successfully, but these errors were encountered: