3 ms·
gRPC is great, but Instagram's client apps are web-based (using React now), and consuming protobuf in JavaScript is unlikely to be faster (and definitely not as
by elithrar 11y ago
gRPC is great, but Instagram's client apps are web-based (using React now), and consuming protobuf in JavaScript is unlikely to be faster (and definitely not as convenient) vs. JSON.
Given the limited resources of a lot of Android devices, an extra unmarshalling step would offset any wire-size reductions.
- jsprogrammer 11y agoExtra unmarshaling? The string will either be parsed as JSON or some other thing.
- krashidov 11y agoJust to clarify, do you mean that all of their mobile apps are on react-native now? Or just their web apps?