menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Data Science News

>

R Shiny De...
source image

Appsilon

1M

read

189

img
dot

Image Credit: Appsilon

R Shiny Deployment: 5 Options for Individuals and Enterprises

  • Developing a Shiny app is relatively straightforward, but deploying it to a production environment is a whole another set of challenges.
  • This articles explores the most common options for deploying a Shiny app and their pros and cons.
  • The article compares 5 options through 5 comparison points: Authentication requirements, Security requirements, Scaling requirements, Operation management overhead tolerance, and Investment.
  • Option #1 Vanilla Shiny: This option has no authentication out of the box and requires engaging people who understand the underlying infrastructure and maintenance.
  • Option #2: Shinyapps.io is a cost-effective solution offered by Posit, but has a couple of security concerns, and limited scaling potential. It may not be the best choice if your app will be used heavily, will be critical to users and has high compliance requirements.
  • Option #3: Shiny Server Open Source is a viable solution that mostly fits simple application scenarios. It fits best for non-complex applications, with non-intensive workloads, and fewer users, without having complicated authentication schemes.
  • Option #4: Shiny Proxy is an open-source solution developed by OpenAnalytics. It allows for more complex setups, guarantees some level of scalability and supports one user per container.
  • Option #5: Posit Connect is the new iteration of hosting solutions from Posit, following Shiny Server Pro. This is the most battle-tested and efficient solution in terms of resource usage. It is configurable and can scale for huge user bases.
  • In conclusion, there are numerous ways to deploy an R Shiny application. For simple scenarios, vanilla Shiny and Shiny Server Open Source are recommended. For more complex scenarios, Shiny Proxy and Posit Connect would be more appropriate, being that Posit Connect is the most effective solution for every scenario, but with bigger upfront costs due to licensing.
  • Containers are recommended everywhere it is possible, for almost all the scenarios, as it’s the most effective solution in the long run. The choice of the solution is dependent on the capabilities to maintain the solution long-term and the scaling requirements.

Read Full Article

like

11 Likes

For uninterrupted reading, download the app