I would like to give the opportunity for the server to handle multiple parallel requests. To perform this I will change the purpose of the server. Instead of running the incoming tasks, it will only create a new R instance, which executes the commands coming from the client. When the session is ready, we have two options:
the server will return the results,
the R subprocess executing the commands will return results to the cloud.
I would like to give the opportunity for the server to handle multiple parallel requests. To perform this I will change the purpose of the server. Instead of running the incoming tasks, it will only create a new R instance, which executes the commands coming from the client. When the session is ready, we have two options: