API Django Rest Framework on Cloud Run shutting down

After testing my Docker locally without identifying any errors or bugs, I came to the conclusion that the problem was due to the cold starts of cloud run. Even though I implemented months ago a solution (periodic queries on Cloud Run with Cloud Scheduler), the problem was present.

I tried today to implement a minimal number of instance, currently one. The number of really high latency queries drops to 0.

The cost does not seem really high (I will comment the price at the end of the month, I expect something like 14€), and honestly, to get rid of this problem, I would have pay easily the double.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top