Skip to content

Support multiple clients at once. #11

Description

@nfultz

Right now, server mode can only handle one client at a time - the first client must hang up before the server can begin processing the second request.

To fix this, for each request, we should run each response in a different thread drawn from a thread pool.

Initially I planned on using RcppParallel, but it's README explicitly says not to access any R APIs from its workers.

My alternative plan is modify the server callback wrapper code to call through mcparallel - this will preclude (theoretical anyway) windows support, but is the next step towards fully implementing the grpc api.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions