Skip to content

Dynamic ITypeModule and start-up time #6272

Answered by tobias-tengler
jimitndiaye asked this question in Q&A
Discussion options

You must be logged in to vote

This should do the trick: https://chillicream.com/docs/hotchocolate/v13/performance#startup-performance
Since the warmup is done using a hosted service, the app won't accept any requests until the warmup process is finished. You can nicely combine this with readiness probes in Kubernetes for example to only route requests to the new container, once the warmup is finished.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jimitndiaye
Comment options

Answer selected by jimitndiaye
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants