Multiple grpc connections using python

235 views
Skip to first unread message

Saurav Pawar

unread,
Jul 4, 2023, 3:38:20 PM7/4/23
to grpc.io
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?


Thanks!

Saurav Pawar

unread,
Jul 5, 2023, 1:37:28 AM7/5/23
to grpc.io
Can anyone please help me with this?

Xuan Wang

unread,
Oct 11, 2023, 2:20:50 PM10/11/23
to grpc.io
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 implementation on how to do that.
Reply all
Reply to author
Forward
0 new messages