hasura / hasura/graphql-engine

How to accelerate startup times

Open
#7,145 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

I'm building a CD/CI pipeline. For the integration tests, I'm spinning up Hasura inside a docker container in order to run the tests. I was wondering. Are there any configs that would accelerate Hasura startup times?

- I know Hasura first waits for postgres to be ready. And keeps retrying until it is ready. Perhaps we can reduce this waiting time?
- Hasura also boots twice, right? If I understand correctly, the first time is just to apply migrations. Is there any way to speed up this cycle?

Look, this is not a big deal. The startup times are mostly fine really. It's just that for CD/CI pipelines every second counts. I'm asking because I've searched the internet and couldn't find anything, and thought that perhaps someone here might have a suggestion.

Thanks in advance!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.