How does hangfire balance load across multiple servers


#1

We are currently performing some load tests on a replicated production environment of a customer. This setup includes Hangfire with 2 servers processing the jobs (each of them 20 workers).
During our tests we could not find a pattern in the way the two server picked up jobs. How is the load divided between these servers? How does Hangfire decide which server picks up a new job?

Thanks in advance for your answer.


#2

I would like to know this as well. It’s unfortunate that there has been no response to this for almost a year now.