4 ms·
If you are advertising it as a high performance RPC, you shouldn't be using protobufs. Cap'n proto and flatbuffers are much faster.
by halayli 12y ago
If you are advertising it as a high performance RPC, you shouldn't be using protobufs.
Cap'n proto and flatbuffers are much faster.
- ejona86 12y agoWhen people might be comparing it to REST with JSON, it is fast. gRPC can be used with flatbuffers and similar. The experience has been targeting protobufs, but at its core it just expects a serialized message. Other formats can be made to work with relatively low effort. So if protobuf is the issue, try swapping to your favorite marshaller.