Hosting Data Apps: 3 Months and 20 Posts Later

[This article was first published on R - Hosting Data Apps, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Hosting Data Apps: 3 Months and 20 Posts Later

Data apps are modern web applications that simplify data-intensive operations and provide value to users by answering very specific questions. The way you host your data apps largely determines the operating costs and the user experience. We launched the Hosting Data Apps website exactly 3 months ago to help you make smart choices and teach you the necessary skills that are needed to host your own data apps. Let's look at the content over the 3 months and see how the 20 posts were received!

Content

Our focus was on hosting Shiny applications. Shiny is an R extension package created that makes it easy to build interactive web applications.

The first few posts introduced Shiny and the local runtime environment:

We then moved onto the conventional ways of hosting Shiny apps as mentioned by the Shiny documentation:

Up to this point, everything can be found all over the Internet, so our plan was really to summarize the most important aspects and provide plenty of pointers for those interested to find more resources.

A post then described all the complexities involved in hosting Shiny apps on a remote server using systemd. Then we reviewed the basic Hosting Patterns for Shiny Apps. There are four basic patterns, and two of these include containerizing (“dockerizing”) the Shiny apps.

Hosting Data Apps: 3 Months and 20 Posts Later
The four basic patterns of Shiny app hosting

Docker provides isolation to applications and images are immutable: once built they cannot be changed, and if the app is working, it will work the same in the future. This feature of a dockerized Shiny app can be a lifesaver.

We were meeting a client when we decided on an impulse to showcase one of our latest Shiny apps. There was only two problems: some packages were freshly updated so the app did not run locally, and I could not connect to the local wifi to show a deployed version. Luckily I did not prune the Docker images from my laptop and the demo went well thanks to docker run.

To really understand how Docker can be helpful for data apps, we started with the basics and took a systematic approach to introduce concepts, techniques, and best practices for developing dockerized Shiny apps:

Lastly, we moved onto the operational aspects of hosting dockerized Shiny apps:

Reception

The R/Shiny community received the posts well, thanks to all who expressed their interest, provided invaluable feedback and signed up for the weekly Insiders' Digest.

The Hosting Data Apps website received almost 7 thousand visits from 112 countries. Although 50% of the page views were from the US, Canada, Germany, UK, and France, we see that the R/Shiny community is truly a global community and we are proud to be a part of it.

We use Fathom Analytics that collects visitor information anonymously. We do not use and store information about your location except for the country of origin. Here is how the past 3 months look like visualized with the freshly released version 3 of the Fathom app. The highest peak shows the publication of Best Practices for R with Docker:

Hosting Data Apps: 3 Months and 20 Posts Later
Hosting Data Apps visitors over the 1st three months

The top posts were also mostly about dockerized Shiny apps, 6 out of 9 posts:

Hosting Data Apps: 3 Months and 20 Posts Later

What is next

We are going to publish more Docker-related content in the coming months. Some of our readers are already familiar with hosting options like ShinyProxy, and were asking about that. ShinyProxy is definitely one of the large focus areas. It is an important and complex topic, that is why we left the best for last. Besides ShinyProxy, we also have a few surprises showcasing some uncommon but useful hosting options, so stay tuned.

This website aims to help you make smart choices and teach you the skills needed to host your own data apps. See some tips for navigating the site and staying up-to-date with recent content. Join us for the next chapter of our journey of helping folks host their data apps!

To leave a comment for the author, please follow the link and comment on their blog: R - Hosting Data Apps.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)