strict-agent1.1.0 • Public • Published
Node.js HTTP Agent with strict queued requests limit
Main goal is to prevent this scenario:
Requires Node.js>=0.10 or io.js
HTTP get example:
var strictAgent = ;...var myAgent = maxSockets: 10 queueLimit: 100000 queueTTL: 1000 ;var options =host: 'localhost'port: 8000path: '/'agent: myAgent;var req = http;
Specifies max number of requests in queue
Specified max ttl for queued requests
- In load_tests folder run
vagrant up. It will download VM, install all requirements.
- In load_tests folder you can change siege testing params in run.sh and .siegerc after that just run
./run.sh. Every test will run on reloaded VM. For lite run use run-lite.sh to not reload VM every time.
- After all tests results will be in run_log in csv format.