You can add additional instances if the application is hosted on a paid tier. These files must include a ui.R file and a server.R file, and can also include data files.Ī running application will have at least one Application Instance. The diagram below shows how these ideas relate to each other.Īn application is a combination of files that you upload to shinyapps.io. There are several ideas that are important when considering the various tuning options that are available. The default settings have been chosen to address the needs of most applications. To see your current settings go to the Settings page for any application. Shinyapps.io lets you optimize the performance of your apps with several tuning parameters. However, as your applications get more complex, requiring more time to service a single request, and as more users interact with the application simultaneously, you may find that the user experience for your applications does not meet your expectations. As a result, a single R process can usually serve 5 to 30 requests/second. This is not an issue in most cases because most computations only take tens or hundreds of milliseconds. R is a single threaded application which means that a Shiny application cannot serve two different users at precisely the same time.
0 Comments
Leave a Reply. |