ray-project / rayfed

A multiple parties joint, distributed execution engine based on Ray, to help build your own federated learning frameworks in minutes.
https://rayfed.readthedocs.io
Apache License 2.0
91 stars 20 forks source link

Ping others can be confusing #122

Open zhouaihui opened 1 year ago

zhouaihui commented 1 year ago

118 did a good job. But something can be improved.

Using send instead of _grpc_ping can result in cleaner code, but it may not be good enough for users.

When parties cannot initiate the code simultaneously, numerous error logs may appear during initialization, which can be confusing for users.

Additionally, the _grpc_ping function disregards exceptions and sets error messages to debug, which may lead users to assume that failed pings are normal. Can this be improved in send?