I have created a shiny app on RStudio and I am deploying it on gcloud run using Docker.
I could deploy the aps on it but I am facing a problem that I cannot resolve.
The fact is the Shiny app is starting by using one request to the container instance. But then, if the user do specific tasks in the app, this will trigger new requests to be achieved.
So if I choose that a container can hold 3 requests maximum, three users can connect using one request. However, if one of these user is doing something in the app that implies a new request to perform something in the app, the instance is already full with three request and then there is an error.
Would someone know how to limit access to one instance to one user only regardless of the number of requests used?
Thank you for your help,