I am using Cloud Run to run a java application and the concurrency for this cloud run service is set to 1. Whenever it receives a message through a http end point, applications get triggered runs for X amount of time and returns the result.
I would like to understand the below items:
- What would happen if the cloud service gets one more http request and triggers the java application before the previous run is completed?
(For example, lets assume the java application takes 5 seconds to complete the execution and send the response back. When one is already in progress, it receives one more http request at 3rd second and triggers the java application) - Does it cause any failure in the expected result?
Thank you