|
|
|
|
|
by aq9
1956 days ago
|
|
So, a lot would depend on what you plan on passing the protobufs over. Plain TCP? gRPC? gRPC kinda sucks for this, the serialization/deserialization can be moderately expensive (CPU); and gRPC's multiplexing of multiple flows onto the same connection can be hard to reason about (i.e. debug); and the performance characteristics are not great either. |
|
Assuming I'm sending data over plain TCP, would Protobuf be comparable in performance to another DB wire protocol? Or am I better off selecting a proven protocol like Postgres and using that?