dcurl
Distributed curl system
Install
npm install dcurl --save
Usage
Server
Launch broker
DEBUG=* ./bin/dcurl-broker.js 127.0.0.1:55555
Launch worker
DEBUG=* ./bin/dcurl-worker.js 127.0.0.1:55555
Launch server (broker and worker)
DEBUG=* ./bin/dcurl-server.js 127.0.0.1:55555
Scripts
"scripts": "start:broker": "DEBUG=* dcurl-broker 127.0.0.1:5555" "start:server": "DEBUG=* dcurl-server 127.0.0.1:5555" "start:worker": "DEBUG=* dcurl-worker 127.0.0.1:5555"
Client
Run distributed request
var request = '127.0.0.1:5555'; ;
License
MIT