|
|
|
|
|
by H8crilA
2284 days ago
|
|
Apples to oranges. TCP has no concept of a message, you need to build it on top of TCP. Which HTTP does, but it doesn't have a standard concept of a message format, you need to build it top of HTTP. Which gRPC does, but it closes the connection after a successful exchange. Which is avoided by streaming gRPC - makes sense if you know you'll be talking more over this channel. None of those protocols are really comparable, and most of the differences boil down to the serialisation protocol (binary/proto or textual, like JSON). |
|