Open goodstas opened 6 months ago
I saw that i can play with the polling interval and this significantly improve the delay overhead for scheduled job. What is a reasonable lowest polling interval to put? I implements some statistics server which gets thousands of items per second and needs to calculate the statistics based on these items.
If i put jobs not in the default queue, will it improve / change something?
Hi, i wrote very simple asp.net application to test the overhead of time of scheduling job with Hangfire. I just used the ASP.NET Web core template and add some to code to do it. I use InMemory storage for jobs if it's matters. The code is below and the results are that there are SECONDS (2-10 seconds) of overhead time. Is this normal? I think it's too big overhead.
`namespace WebHangfire.Controllers { [ApiController] [Route("[controller]")] public class WeatherForecastController : ControllerBase { private static readonly string[] Summaries = new[] { "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" };
}`