When is websocket prefered and when grpc call?

Viewed 10

I have searched a lot about the pros and cons of WebSocket and gRPC, but I'm still confused about when to use which one of them for let's say a messenger application. I know their protocols are different, but I'm wondering about a data-driven comparison of the performance and latency of different cases of these two technologies. E.x In a case when many users are gonna maintain their connection vs when people might connect and disconnect numerous times and their overhead.

0 Answers
Related