Hi,
I am planning to run hangfire background jobs for syncing google calendar. I am hoping to get around 5k recurring jobs running in background. How many worker threads and server instances would you suggest to run 5k jobs recurring every minute?
I am developing a prototype using sql server as a job storage, but will switch to redis once I feel more comfortable with hangfire.
We run about 6k jobs per minute. Not a problem for hangfire. The number of servers and worker threads is more dependent on how long your individual jobs take to run. Does one server have enough CPU, etc. to run 5k of your jobs per minute?
Thank you so much for replying. Yeah it’s CPU intensive jobs. Individual jobs takes around 450 ms on an average. We will have enough CPU to run the jobs. How many worker threads roundabout do you think is appropriate?