RServe non-blocking calls

RServe-process

*remotely execute R code

*R==Say no to concurrency

*isolated = just new process in OS

*load model - 10 seconds

 

 

R-worker

*handle connection to RServe-process

*only one command sent to R at time

Wait 700ms for response

block current thread by actor

2 cores 2 threads ?  NO :(

scaling by adding more threads is terrible idea

Finally there is response !!!

10.2.14.94:1234

http://cran.r-project.org/web/packages/httpRequest/httpRequest.pdf

busy/ready

 

Promise[T]

https://github.com/s-u/REngine/blob/master/Rserve/protocol/RTalk.java#L211

deck

By Przemek Piotrowski