Re:Connect-Web: TypeScript library for calling RPC servers f...
by franciscop on Thursday August 04, 2022 @04:09PM
(#32347684)
Agreed also with Node.js, and we didn't even see meaningful improvements in data size for our usecase without double encoding. The size of fairly repeated data with JSON+GZIP was on the same order of magnitude as the raw data with protobuffers. To be fair the protobuffers included some unwanted fields, but it was expensive enough decoding them, what were we going to do decode AND encode them again? No way, decode, slice in JS and send the JSON, with GZIP it was the same size.
[ Parent
| on HN ]
Re:Connect-Web: TypeScript library for calling RPC servers f...
by shadowgovt on Thursday August 04, 2022 @06:06PM
(#32348912)
Honestly, that's one of the nicest things about JSON. While it has a lot of on the wire redundancy, it is a very compressible shape of redundancy.