Hi,
Is there limitation for number of Hangfire servers using on one machine? I want to run one Hangfire server per domain (tenant) in order to provide parallelism on domain (tenant) level, because multiple queues provide only priority per domain (tenant) when there is more than 20 jobs in queue.
Thanks in advance!
Regards,
Radovan
Not any artificial one, but running a lot of servers may have some natural resource limitations.
For example, each server instance will start, like, 24 threads. If you have 4 tenants, it will be about 100 threads, which may drastically reduce concurrent performance when running on a single machine with a small number of physical cores (or when struggling for a distributed lock).
Also each thread opens a database connection, so you may run out of connection pool limit for your database engine.
And so on…