msmqhangfire

How MSMQ works with Hangfire. Can anyone explain the flow?


Can anyone explain how will message be received by MSMQ queue and how hangfire will process that request?


Solution

  • When MSMQ is used for job queuing, new jobs are queued for execution in MSMQ queue and they are immediately available for processing as a subscription model is used in this case instead of a polling one. So if you want to reduce background job latency use this instead of sql server.