I apologize if this is a neophyte's question. I have an AWS box running R and responding to requests to run an R function via a socket connection from another AWS box. Currently my R box runs just one instance of R, listening on only one port, but I need to be able to handle more requests from the other server than the single R process can handle. So questions come from a fixed IP and go to a fixed IP and I don't think I can get concurrency on a unique IP/port connection.
What's the best way to handle this? I could run several R processes on the R box each listening on a different port but then the client side would have to figure out which port wasn't busy.
Any suggestions? Thanks in advance.