How can OpenCPU run computationally expensive commands at the same time?

I am currently creating an application that should run millions of statistical regressions in a short time. Parallelizing these calculations is one way to speed up the process.

The server OpenCPUdoes not scale very well with parallel executable commands. All commands are executed sequentially.

Is it possible to create multiple sessions Rusing OpenCPU or do I need to run multiple server instances? Have I missed something here, how OpenCPUcan I process several computationally expensive commands at the same time?

+4
source share
1

OpenCPU HTTP- , . , .

R script, OpenCPU , , . - mcparallel R. OpenCPU, http- R- script.

+2

All Articles