Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: run warmup requests on runtime startup to ensure that service is ready to accept connections #5467

Closed
girishc13 opened this issue Nov 30, 2022 · 0 comments · Fixed by #5579

Comments

@girishc13
Copy link
Contributor

Describe the feature

Warm up requests are executed before the service is reported ready so that new incoming requests can be readily served without having to create new network connections to database dependency or sidecar container, etc or load the required modules. Warm up requests can be dummy or canary or health check type requests that can trigger the hot path at least once. Warm up requests don't need to be successful but need to be executed before reporting readiness.

Your proposal

Gateway Runtime: execute service discovery request to all executors.
Executor Runtime: execute empty post request on the default endpoint.


Environment

Screenshots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant