Best practices for Hangfire on Azure
Asked Answered
M

1

11

I am attempting to migrate an OnPrem solution to Azure. The application uses Hangfire fairly heavily. Hangfire is hosted in a windows service and is backed by SQL Server.

I prefer not to remove this dependency unless absolutely required. (alternatives being functions/webjobs.)

Are there any guidelines/best practices for running Hangfire on Azure?

Barring the differences in storage characteristics, is Hangfire expected to work exactly on azure as it does OnPrem?

On googling + scanning github issues & SO:

  1. People do seem to be using Hangfire on Azure.
  2. Could not find any best-practice/migration documents around this.

Thanks, Partho

Masseur answered 8/7, 2018 at 13:27 Comment(0)
L
8

If you use Hangfire, I highly recommend you use their Azure Service Bus package. Which switches the polling to Azure SB

Lamonicalamont answered 8/7, 2018 at 13:47 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.