Currently we have hangfire set up on 4 servers with 5 private MSMQ queues on each. Each server is configured to use 20 worker threads for a maximum of 80 total threads across all servers. We’ve noticed that all 80 threads are never used and the dashboard says that there are only about 20 jobs running at one time while hundreds more are waiting in the queue. Is there some kind of configuration that can make use of all open worker threads on all servers to increase job execution time and the amount processed? My assumption was that when one server uses all of its worker threads and there are still jobs in the queue that the remaining jobs will be executed on the other servers that are essentially in idle.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Hangfire is processing only one job at the time | 0 | 373 | January 18, 2024 | |
How does hangfire balance load across multiple servers | 1 | 1643 | October 30, 2018 | |
Limitation for using multiple Hangfire servers | 1 | 2112 | March 23, 2017 | |
Background job distribution to multple Hangfire servers | 0 | 813 | September 2, 2020 | |
Single worker process for entire farm | 0 | 1114 | August 1, 2017 |