HangfireIO / Hangfire

An easy way to perform background job processing in .NET and .NET Core applications. No Windows Service or separate process required
https://www.hangfire.io
Other
9.32k stars 1.69k forks source link

Hangfire on Azure Kubernetes #2360

Open MatteoRigoni opened 7 months ago

MatteoRigoni commented 7 months ago

I'm trying to use Hangfire in a .NET 7 project dockerized, and locally works fine. I have to deploy in a K8S cluster, anyone has any experiences? Any suggestion about configuration?

My idea is to have several pods, each one with a workerCount of 2 parallel jobs. Is there any specific configuration for working on a dockerized environment?

Thanks for any experiences about it.

creasoft-dag commented 6 months ago

I would also be interested, does anyone have experience with a containerized Hangfire solution in Azure? An AppService is expensive, because it runs 24/7. Currently I have a look at Azure Container Apps, maybe they could work (if one instance is always online and the others are idle).

stevehansen commented 5 months ago

we have about 20 recurring jobs running in AKS, oldest was created 3 years ago, got about 350K succeeded jobs

mhkolk commented 5 months ago

We have Hangfire server running in containerized ASP.NET Core app in AKS against Azure Postgres just fine.