Scaling and Infrastructure - Why is My Shiny App Slow?

Estimated time:

<h2>Scaling and Infrastructure</h2> Performance is an inevitable concern for all successful applications. With success comes greater adoption. This widespread adoption leads to issues from lack of processing power and memory to network failures. Questions begin circulating like “Why is your app so slow?” or “How do you scale Shiny to support more users?”. Scaling at the infrastructure level can be a cost-friendly option to help alleviate problems with your Shiny app's performance.  At Appsilon, we’ve developed Shiny enterprise apps that scale for hundreds of concurrent users. You can throw money at options like improving memory to existing servers, or adding more servers. And in some cases, these options are the correct route to take. However, there are other areas of improvement if you focus efforts on the Shiny application itself.  <blockquote><strong>Want to learn more? Watch our video on <a href="" target="_blank" rel="noopener noreferrer">how we scaled a Shiny App to hundreds users</a>.</strong></blockquote> In the presentation below, Pedro Silva discusses Appsilon’s approach to performance on an infrastructure level. Although the talk is geared towards developers with a higher skill level, Pedro’s talking points are valuable to all devs looking to create a faster, successful app.  <iframe title="YouTube video player" src="" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe> <a href="" target="_blank" rel="noopener noreferrer"><b>Pedro Silva</b></a><b>, R/Shiny Developer at Appsilon,</b><a href="" target="_blank" rel="noopener noreferrer"> <b>Grand Prize Winner 2020 Shiny Contest</b></a> <h2>Abstract</h2> For a Data Scientist, Shiny can be an amazing tool for creating fast and powerful prototypes and dashboards. But what to do when your application becomes TOO popular and more and more people want to use it?  As the number of users grows, keeping up with the demand of a Shiny application can be tricky, and there is only so much you can do to improve performance at the code level.  This presentation gives an overview of our custom approach to improving Shiny dashboard performance on an infrastructure level. It also includes tips for scaling Shiny dashboards to hundreds of concurrent users while keeping your budget under control. <blockquote><strong>Need help scaling with RStudio Connect? Appsilon is a proud <a href="" target="_blank" rel="noopener noreferrer">RStudio Full Service Certified Partner</a>. </strong></blockquote> <h2 id="anchor-5">Let's Build Something Beautiful Together</h2> Appsilon provides innovative <strong>data</strong> <strong>analytics</strong>, <strong>machine</strong> <strong>learning</strong>, and <strong>managed services </strong>solutions for Fortune 500 companies, NGOs, and non-profit organizations. We deliver <strong>the world’s most advanced <a class="gmail-QuillHelpers-link gmail-textEditor-link" href="" target="_blank" rel="nofollow noopener noreferrer">R Shiny</a> applications</strong>, with a unique ability to rapidly develop and scale enterprise Shiny dashboards. Our proprietary machine learning frameworks allow us to deliver <strong><a href="">Computer Vision</a></strong>, <strong>NLP</strong>, and <strong>fraud detection</strong> prototypes in as little as one week. Appsilon Tech Team Members regularly contribute to open-source packages. This is part of our commitment to positively impact the world through technology. Consider dropping a star on your favorite<a href=""> shiny packages</a> at our <a href="">Github</a> to let us know we’re on the right track. Do you have any comments or questions? Swing by our feedback threads, like the <a href="" target="_blank" rel="noopener noreferrer">discussion</a> at our new <a href="" target="_blank" rel="noopener noreferrer">shiny.fluent package.</a> We love to hear from the R community. If you spot an issue or room for improvement, don’t hesitate to send a pull request. <a href="" target="_blank" rel="noopener noreferrer"><img class="aligncenter size-full wp-image-7584" src="" alt="world class enterprise Shiny dashboards" width="1914" height="880" /></a>

Contact us!
Damian's Avatar
Damian Rodziewicz
Head of Sales
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Have questions or insights?
Engage with experts, share ideas and take your data journey to the next level!
Join Slack

Take Your Business Further with Custom
Data Solutions

Unlock the full potential of your enterprise with our data services, tailored to the unique needs of Fortune 500 companies. Elevate your strategy—connect with us today!

shiny dashboards
r community