In our project we use 21 custom trained models to translate from EN to target_language.
Last week 30% of all our requests finishes with timeout! What is the problem?!
How can you/we fix it?
Solved! Go to Solution.
Hi @ochkarik
Welcome back to Google Cloud Community.
Setting request timeout (services)
For Cloud Run services, the request timeout setting specifies the time within which a response must be returned by services deployed to Cloud Run. If a response isn't returned within the time specified, the request ends and error 504 is returned.
The timeout is set by default to 5 minutes and can be extended up to 60 minutes.
Here are some articles that might help you:
https://cloud.google.com/run/docs/configuring/request-timeout
https://cloud.google.com/python/docs/reference/storage/1.39.0/retry_timeout?_ga=2.21056062.-48059091...
https://cloud.google.com/translate/docs/reference/rpc/google.longrunning?_ga=2.25258296.-480590913.1...
Hi @ochkarik
Welcome back to Google Cloud Community.
Setting request timeout (services)
For Cloud Run services, the request timeout setting specifies the time within which a response must be returned by services deployed to Cloud Run. If a response isn't returned within the time specified, the request ends and error 504 is returned.
The timeout is set by default to 5 minutes and can be extended up to 60 minutes.
Here are some articles that might help you:
https://cloud.google.com/run/docs/configuring/request-timeout
https://cloud.google.com/python/docs/reference/storage/1.39.0/retry_timeout?_ga=2.21056062.-48059091...
https://cloud.google.com/translate/docs/reference/rpc/google.longrunning?_ga=2.25258296.-480590913.1...
Hello, friends! Now everything is working very well - 0 timeout error! Thank you!
But we noticed another minor problem: after uploading new dataset for training language model and after training the model we do not receive any email notifications about operation finishing.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |