Re:Some items from my “reliability list”
by kristiandupont on Thursday July 25, 2019 @09:28AM
(#20525187)
Protobuf or Thrift would require serialization as well? I still wouldn't do that (or, in fact, I am currently not doing that) before I have an incentive, i.e. performance problems. Of course, my services are all Nodejs at the moment, so JSON feels more natural there than it does in other environments.
[ Parent
| on HN ]
Re:Some items from my “reliability list”
by mr_crankypants on Thursday July 25, 2019 @09:48AM
(#20525304)
One potentially nice thing about formats like Cap'n Proto is that they don't eagerly parse the message. You can just lazily grab the values you care about, which can be a big performance win if you typically only care about a few fields out of a larger message.
That's impossible with text-based formats like XML and JSON, because everything is fractally variable-length.