Skip to content

pregenerate schema and cache it for serverless cold start? #1574

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

Closed
vt-rc opened this issue Aug 10, 2024 · 1 comment
Closed

pregenerate schema and cache it for serverless cold start? #1574

vt-rc opened this issue Aug 10, 2024 · 1 comment

Comments

@vt-rc
Copy link

vt-rc commented Aug 10, 2024

I am running graphene-django on serverless
I am posting here because Schema loading is in graphene.Schema.
often time there is cold start and the cold start is very slow because the schema loading is very slow, 1xx+ms for a fairly small schema. For larger service the schema load time can be over 3xx-4xx+ms

(please don't tell me to stop running serverless, thx)

Are there ways to pregenerate the schema and load from cache?
Or other way to speed up start time?

@vt-rc
Copy link
Author

vt-rc commented Aug 12, 2024

this should be open at graphql-core

@vt-rc vt-rc closed this as not planned Won't fix, can't repro, duplicate, stale Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant