3 ms·
I think for large organizations they probably make sense. They're potentially a lot less data per request than JSON. For the average app? Overkill, sure.
by myko 7y ago
I think for large organizations they probably make sense. They're potentially a lot less data per request than JSON.
For the average app? Overkill, sure.
- xmprt 7y agoI also recently learned about grpcurl that makes using protobufs a lot easier. Still not as easy as json but I think protobufs are the future.
- SlowRobotAhead 7y agoCBOR. Binary JSON with some extra features. I like PB, but it was too hard in my application to sync all of the sides with the same proto as it was developing rapidly. For me schemaless was better, and now we have extremely easy JSON conversion... but did have to write the parser myself. I personally can’t agree on PB being “the future”.
- iainmerrick 7y agoOverkill? It doesn’t take a lot of work to add proto buffers to an existing project (if you’re already using a reasonable build system, anyway).
- tmpz22 7y agoIf you have weeks to spend optimizing build systems, linters/editors, CI/CD, etc...