Skip to content

Resource health check polling (cloud traffic concerns) #5602

@mitchdenny

Description

@mitchdenny

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 the HealthCheckAnnotation and then improve the logic in ResourceHealthCheckScheduler 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.

Metadata

Metadata

Assignees

Labels

area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationperfIssues pertaining to Perf

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions