I have a shiny app that works locally but does take a long time to get started - longer than 60 seconds. On shinyapps.io this leads to the error
Unable to connect to worker after 60.00 seconds; startup took too long.
The logs are all ok, they show that, yeah, it's taking a long time to start up. What is the minimum plan I need in order to let it load for as long as it needs to so it can be called by a user? It's for a school project, so it won't get that much traffic, I just need it to run.
Before attempting to upgrade plans, I recommend you profile your app, to understand why it is slow to start. If you can alter it to start faster, I'm sure the future users of the app will appreciate it too.
profvis can be useful for this sort of activity.
Thanks for the quick replies! I ended up using nirgrahamuk's advice: I refactored and serialized all the incoming data and models. This way, the app is now super fast and works like a charm!