Closed lautiamkok closed 6 years ago
Yes rapache is multi threaded, it spawns R procs using apache2 prefork mpm. I don't think you are supposed to run plumber on rapache because you need to buy the rstudio connect server.
rapache is not really multi threaded, but it can work with an apache multi processing module (MPM) that is multi threaded, such as worker and event but it is not recommended. The recommendation is to use the prefork MPM which spawns a number of child apache processes which have their own rapache module. That gives you concurrency. http://httpd.apache.org/docs/2.4/mpm.html
I understand that R is single-threaded and it does not support concurrent requests. This is the same issue when we use rplumber:
What about rapache? Does it support concurrent requests? Can I use rapache as a server for rplumber?