What was the motivation to use websockets over grpc streams?
Discussion
grpc is not an application level protocol, it a rpc technology on top of http2. Different level of abstraction, not a direct comparison. Plus it’s a pain in the ass to setup grpc.
The motivation was that I had never heard of gRPC streams. The only alternative I've considered was SSE, but since that is one-way communication I thought websocket would be much much simpler to implement and the performance/reliability would be basically the same.