Hi, looks like the grpc connection in Flower is one stub created using one channel, grpc Python does support reuse stub for client multiplex, you can refer to our multiplex_client <https://github.com/XuanWang-Amos/grpc/blob/master/examples/python/multiplex/multiplex_client.py> implementation on how to do that.
On Tuesday, July 4, 2023 at 10:37:28 PM UTC-7 Saurav Pawar wrote: > Can anyone please help me with this? > > On Tuesday, July 4, 2023 at 11:38:20 PM UTC+4 Saurav Pawar wrote: > >> Hi, >> >> I want to create multiple grpc connections instead of one. I am using >> Flower which is a federated learning framework and it uses grpc for the >> communication. This (Link provided below) is the line where they are >> creating 1 grpc connection and I want to create 3. Can I please get some >> help? >> >> Link to the line of code - >> https://github.com/adap/flower/blob/f139930bd9329ffce6b3c9466ded6a633c93c07d/src/py/flwr/client/app.py#L189 >> >> Thanks! >> > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/e9908f39-ee43-4887-af16-f3bceead6b98n%40googlegroups.com.