I did a search on this page and I didn't find the comment you are referencing. It seems very unlikely to me that google's implementation is 20x slower.
See tijsvd's comment about 1 microsecond vs. 50 nanoseconds. (Perhaps I should have caveated that with "in some scenarios")
Re:Don't Use Protobuf for Telemetry
by dguaraglia on Thursday December 31, 2020 @01:11AM
(#25590068)
I think the general point is 'if it works for Google, you should feel relatively safe adopting it for your own use'. It doesn't mean it'll fit every single usecase.
If what you need is something that is super efficient over the wire - or any other such requirement not filled by Protobuf - then maybe look for a different protocol altogether. Or design your own!
But for the rest of us - the '99.999%' - the trade-offs are well understood and we'd rather go for the tool we know than reinvent the wheel or use a less maintained tool.
Re:Don't Use Protobuf for Telemetry
by asdfasgasdgasdg on Wednesday December 30, 2020 @08:15PM
(#25588429)
Which implementation of protobuf is 20x faster than Google's?
Why exactly does a megabyte matter, unless you're trying to run on a 90's watch or embedded?
Re:Don't Use Protobuf for Telemetry
by naniwaduni on Wednesday December 30, 2020 @08:16PM
(#25588431)
Well, transmitting a megabyte also takes a full second at 8 Mbps.
Re:Don't Use Protobuf for Telemetry
by RhodesianHunter on Wednesday December 30, 2020 @09:56PM
(#25589092)
Nobody's transmitting this, it's the size of the library doing the proto serialization/deser
Maybe because "20X slower"
I can't agree with this mindset.
Another commenter here pointed out the Google implementation is 20x slower than others, and 1.6MB for this kind of task feels bloaty. Just because it meets Google's needs doesn't mean it's universally adequate.