Resource health check polling (cloud traffic concerns) #5602
Labels
area-app-model
Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
perf
Issues pertaining to Perf
Milestone
In #5601 we reduce the period for health check execution. We go from 30 seconds to 5 seconds. Some cloud hosted resources could be more expensive for health check intervals.
Do we need to introduce a
Period
property on theHealthCheckAnnotation
and then improve the logic inResourceHealthCheckScheduler
to enable or disable a check based on whether the per resource internal has been reached. We might want to have two intervals, one for startup and one for normal running with the AddXYZResource method able to set the sensible default.This would make the scheduler more complex.
The text was updated successfully, but these errors were encountered: