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

suggest remote to support redis to synchronize request. #8

Open
fabware opened this issue Sep 5, 2011 · 2 comments
Open

suggest remote to support redis to synchronize request. #8

fabware opened this issue Sep 5, 2011 · 2 comments

Comments

@fabware
Copy link

fabware commented Sep 5, 2011

I'm very new to nodeload. I'm impressed with nodeload to perform single process benchmark of my application. Then, I want to do a clustered test. I read about the doc, which suggest me to have remote to work.

I gave it a try and found it's hard to splitting the benchmark requests which read from a single file line by line to the target nodes. Especially make them to synchronize. So I think a central redis database can be put to use, to serve benchmark request one after another, eg: use rpop to pop out the request from a list. Basically to make requestGenerator() to return request stored in a redis instance.

I managed to changed requestGenerator() to do it, but it requires redis to be imported on the slave nodes. Mind to point me where to add this redis import? Or, do you have any better idea to do the same?

@Samuel29
Copy link

Hi, I had the same kind of problem : I use AWS EC2 instances as slaves, with minimal setup.
I wanted to use a randomly picked URL from a list. the problem is to send data from the master to the slaves...

I think the only thing we would need is an "Init" or "startup" function to be sent to the slaves before starting tests.
the function would contain the needed requires, or download any useful data from the nodeload master or another central repository (ie. Redis or anything else).

@Samuel29
Copy link

Samuel29 commented Jul 5, 2012

the "startup" function would also have its opposite : "teardown" (to release ressources etc)

JeremyFrederick pushed a commit to CozyOrchards/nodeload that referenced this issue Jan 15, 2016
Added support for running nested depenedent programs. Might have broken ...
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

2 participants