Concurrency
By default, workers will only call endpoints to process jobs one at a time, however it is easy to achieve concurrency by using the concurrency option. This is an optional field that accepts any positive number, as a concurrency factor, i.e. how many calls to an endpoint can be perform in parallel.
There is no upper limit on the concurrency factor other than the practical limits of the system running the proxy, Redis™ or the endpoint, please adjust as needed.
We can expand our previous interface with a concurrency field:
As before we just can post this object to the /workers endpoint to register or update an existing endpoint:
Last updated