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
92 stars 22 forks source link

RecvProxy grpc server can start on already used port. #124

Closed zhouaihui closed 1 year ago

zhouaihui commented 1 year ago

RecvProxy uses python grpc and grpc enables grpc.so_reuseport by default. If we give RecvProxy an already used port, it will steal the port actually without any warning/error message (https://github.com/grpc/grpc/issues/16005). This makes potential port conflict and it's difficult to detect. We should disable grpc.so_reuseport by default.