flower icon indicating copy to clipboard operation
flower copied to clipboard

gRPC connection handling

Open jimazikerlan opened this issue 3 years ago • 1 comments

What is your question?

I am trying to implement a real use case and I have been making some trials. Once the training process starts, if a new client asks for training to the server, the server collapses and stops the training without finishing the process. Is there any way of handling this? I found the following in the GRPC documentation: https://github.com/grpc/grpc/tree/master/examples/python/async_streaming

jimazikerlan avatar May 26 '22 05:05 jimazikerlan

Thanks for reaching out @jimazikerlan, what you're describing sounds like a bug. Could you provide a minimal code example that we can use to reproduce the issue you're describing?

Clients are able to join and leave the server at any point in time. If a new client joins, it'll have to wait until the current round is finished, and it might then be selected to receive a task during the next round of training or evaluation.

danieljanes avatar May 29 '22 16:05 danieljanes