Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to make R Shiny support multiple users? I'm talking about hundreds of concurrent users

Tags:

r

shiny

Is there any way to make R Shiny support multiple users? I'm talking about hundreds of concurrent users. To add some context: I'm not talking about Authentication (username / password). That will be taken care of by Auth0 (see auth0.com). So AFTER they are logged in, I see that Shiny Server does not pass the username to the Shiny session (maybe deliberately, so that you are forced to purchase the Commercial license to Shiny Server?).My question is more about : a) how do I make it recognize the username of the logged in user? b) will it scale to hundreds of concurrent (simultaneous) users?

like image 210
Makis Kasvikis Avatar asked Dec 17 '25 06:12

Makis Kasvikis


1 Answers

https://www.shinyproxy.io/ attempts to solve problem b): it spawns a Docker container per application and per user. It should scale well if you give it enough resources (unfortunately it's difficult to estimate what "enough" is beforehand... You should run your own tests).

I'm not sure about problem a) but Shinyproxy deals well with authentication of users.

like image 137
Aurèle Avatar answered Dec 19 '25 23:12

Aurèle



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!