Hangfire Discussion

Consistently getting HGETALL timeouts with redis during parallel processing

Tags: #<Tag:0x00007f8503487f30>


We have a few jobs that have recently added Parallel.Foreach loops to improve performance for long running tasks. The PerformContext isn’t used in the functions. However, any time we allow more than a few parallel process to be running at a time we get redis timeouts performing HGETALL.

Why is this happening if we are not doing anything with redis within the functions or the parallel loops? It doesn’t make any sense and is rather frustrating.