Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 779 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 779 Bytes

job-runner

An asynchronous job runner written in golang with redis and nats.io

Build Status Coverage Status

Run Locally (With docker-compose)

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