Creating the container before user opens the application

I deploy a quite large shiny application with shinyproxy, but the launching time is extremely slow (7-10 sec). On the other side, when user open app served by shiny-server, the app is already running, and it launches very fast (it’s obvious because there is no need to initialization).
But my question is can we make some “prepared container” (we start it allocated the port, but don’t give it to the user), namely always keep “a ready for start container” for user, and when user opens app, then we create the new one for the next user. I think it can help to prevent slow launching but I don’t know if it is possible. I appreciate any help from your side.

3 Likes

This could be a solution

1 Like