This repository was archived by the owner on Sep 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
super slow #41
Copy link
Copy link
Open
Labels
Description
I benchmarked a few job processing libraries that use Redis as a backend: https://github.com/gocraft/work#benchmarks
Most can do about 10,000 to 20,000 jobs/second. Using default options, the albrow/jobs library clocked in at 40 jobs/second. I was able to increase that by increasing the # of works and the batch size, but I wasn't sure what you think good values for those params are.
Benchmark code: https://github.com/gocraft/work/blob/master/benches/bench_jobs/main.go
I'd love it if you could review my benchmark to see if I made a glaring mistake, and also what your thoughts are about good params for batch size.
Reactions are currently unavailable