6 ms·
> Speaks protocol buffers, a fast and compact format compared to JSON This is definitely important at Google-scale, but for the rest of us compressed JSON typi
by decwakeboarder 9y ago
> Speaks protocol buffers, a fast and compact format compared to JSON
This is definitely important at Google-scale, but for the rest of us compressed JSON typically isn't that bad.
- krona 9y agoUnless you're, you know, streaming anything other than UTF8.
- euyyn 9y agoIf your users access your website from their phones, the latency and CPU benefits of proto become important for them.
- kybernetikos 9y agoYou should also test the speed. JSON.parse is surprisingly fast in modern browsers and binary access is surprisingly slow.
- zepolen 9y agoLast time I tried protocol buffers it was dog slow, json was pretty fast, and msgpack was insane fast. This was on a heavily nested dict of dicts structure.