I am the first scholar of grpc. I think it is an ugly question.
A simple chat application is created using grpc-go. and want to achieve is something like this.
@Each of clientA, clientB, clientC, connects to serverA, and has a bidirectional stream connection. For example, if you want to notify clientA, B, C that clientD has connected to serverA, what kind of implementation method is there?
How to broadcast in gRPC from server to client?
gRPC: How can I distinguish bi-streaming clients at server side?
I have read these posts, but I would like to know the best practices.
For example, when creating a client list and notifying there, how should this be code?