4 ms·
Why would I want to do that?? :) I was using JSON and Avro in production and it was pretty obvious that Avro just beats the shit out of JSON libraries, even tho
by StreamBright 7y ago
Why would I want to do that?? :) I was using JSON and Avro in production and it was pretty obvious that Avro just beats the shit out of JSON libraries, even though there are state of the art libraries like Boon[1].
1. https://github.com/boonproject/boon/wiki/Boon-JSON-in-five-minutes https://github.com/boonproject/boon/wiki/Boon-JSON-in-five-m...
For me it does not really matter which binary message format you are using, I think there is not a huge difference between the different libraries. There are some feature differences for sure, library quality maybe. If you are going for the most performance that is possible to achiave you could look at SBE[2] developed by performance freaks.
2. https://github.com/real-logic/simple-binary-encoding https://github.com/real-logic/simple-binary-encoding
- signa11 7y ago> Why would I want to do that?? :) because you _seem_ to imply that json parsing is faster/better than binary parsing...
- StreamBright 7y ago>> Parsing JSON is probably an order of magnitude more ____inefficient___ than working with any binary message formats in terms of speed and energy. Do I?
- signa11 7y agooh dear lord ! how dumb of me :o) apologies...