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

503 The service is currently unavailable error during the Google AutoML warmup process #3207

Open
mathjazz opened this issue May 9, 2024 · 0 comments
Assignees
Labels
P2 We want to ship it soon, possibly in the current quarter task

Comments

@mathjazz
Copy link
Collaborator

mathjazz commented May 9, 2024

We're hitting lots of "503 The service is currently unavailable" errors in the Google AutoML warmup process.

With the increase in the number of AutoML locales the time to do the actual warmup also increases. We are at ~20 locales and it almost always takes more than the warmup job frequency (1 minute) to warm them all up.

Since we can only run one task in parallel, we no longer warmup locales every minute. The longer the time between the warmups, the higher the chance of hitting the cold engine, manifested as "503 The service is currently unavailable".

We use APScheduler for that task, so the simplest trick to test is to increase the number of instances that can run at the same time.

@mathjazz mathjazz added P2 We want to ship it soon, possibly in the current quarter task labels May 9, 2024
@mathjazz mathjazz self-assigned this May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 We want to ship it soon, possibly in the current quarter task
Projects
Status: 🔖 Ready
Development

No branches or pull requests

1 participant