An asynchronous job runner written in golang with redis and nats.io
Prerequisites:
- make
- Go 1.10+
- docker
To start the REST api and the sample new.product
worker
Run:
make docker
To test you can use apache bench to send sample requests to the REST api /jobs
endpoint:
ab -c 50 -n 10000 -p job.json -r -T application/json http://localhost:8901/jobs
You can tweak the ab
flags as you wish