4 ms·
It's a wrapper around https://github.com/rstudio/httpuv https://github.com/rstudio/httpuv I'm pretty sure it's blocking though, R doesn't really have good conc
by kirillseva 10y ago
It's a wrapper around https://github.com/rstudio/httpuv https://github.com/rstudio/httpuv
I'm pretty sure it's blocking though, R doesn't really have good concurrency primitives. However, you can launch multiple R processes behind nginx and be able to serve N requests concurrently. Running this in an autoscaling group on AWS provides enough resilience in practice
- haddr 10y agoYes, R is missing those, but there is some workarounds, like Shiny server (enterprise version) and OpenCPU for instance.