Skip to content

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

License

Notifications You must be signed in to change notification settings

dikaeinstein/job-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published