-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shinyapps.io settings #2
Comments
Part of an email I just wrote:
You can also run the app locally with: ## You'll need R 3.6.1 or 3.6.2 with Bioconductor 3.10 (current release)
install.packages('remotes') ## if needed
remotes::install_github('LieberInstitute/spatialLIBD')
spatialLIBD::run_app() Between that and the potential dockerfile deployment option, maybe we can run it on AWS on a higher memory instance. I'll email RStudio Support soon. Once I finish setting up my account for that. |
Request has been posted at https://support.rstudio.com/hc/en-us/requests/44981. Here's the actual request:
|
Here are some updates.
So our current plan, as we wait to hear back from RStudio is this one.
|
Hi,
Based on the fact that the app loads about 2.5 GB of data into RAM to start off, plus looking at the metrics it seems like the app easily reaches 3GB sometimes even 4GB of RAM per user. I still haven't figured out the best set of settings to use for https://jhubiostatistics.shinyapps.io/spatialLIBD/ based on the documentation at https://docs.rstudio.com/shinyapps.io/applications.html#ApplicationPerformanceTuning and what I see in practice.
We can run up to 10 instances, each of which can have XX number of R workers, with each R worker powering YY number of connections. Earlier I had XX = 1, YY = 1; however we easily ran into "503 resource unavailable" errors. So I now changed it to XX = 1, YY = 2 and added information on the landing page about how you can run the app locally with
spatialLIBD::run_app()
. Earlier today with a single instance, I could easily crash sessions (connections) if I opened 2-3 of them. And that's usingxxxlarge, 8192 MB
instances (the largest ones).Anyway, if you have ideas of the best set of settings to use, please let me know.
Thanks!
Leo
The text was updated successfully, but these errors were encountered: