Google Cloud Run suitable to run Spring Boot?

Harold L. Brown :

We have a Docker container that packages a Java Spring Boot application. The application sometimes takes about 40 seconds to start.

Is Google Cloud Run suitable to run such a "heavyweight" application?

Let's say it'd be scaled down to 0 replicas, then the following would take 40 seconds upwards to be processed. Or is there some logic on Cloud Run's side to avoid such a case.

Doug Stevenson :

You can't avoid the cold start cost when Cloud Run starts a new virtual server instance. If 40 seconds is unacceptable overhead to handle an incoming "cold" request, then you might want to pay for a servers that stay running 24/7.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=327519&siteId=1