Re:JCOF: JSON-like Compact Object Format
by Beltiras on Friday July 15, 2022 @04:51PM
(#32112676)
A sibling has the data. For that case it's 10% of egress which can be a healthy chunk of change on your bill. For all such use cases you should of course benchmark a lot and then pick what fits. I think this tool is a nice one to have in the toolbox. The low-rate files seem to be close to optimal.
[ Parent
| on HN ]
> For that case it's 10% of egress which can be a healthy chunk of change on your bill. For all such use cases you should of course benchmark a lot and then pick what fits.
Provided that you don't run into the issue of one end only talking in language X, which does not have JCOF support due to there not being any libraries for it yet. In the GitHub repo, it seems like there is only the JavaScript reference implementation for now.
The design documents are really thorough. I don't think I would be more than a day making a serializer in Python for example. Lack of libraries just means an interested developer needs to tend to the matter and solve the issue.
Re:JCOF: JSON-like Compact Object Format
by zimpenfish on Friday July 15, 2022 @05:26PM
(#32112992)
> A sibling has the data.
And now has updated data showing that sorting your keys lets `lzma` beat `jcof|lzma` at every level. The egress bill has been reduced! All rejoice!
Re:JCOF: JSON-like Compact Object Format
by zimpenfish on Friday July 15, 2022 @07:53PM
(#32113981)
EDIT: Nope, I was wrong, I was doing `lzma` against `jcof|zstd`. `jcof|lzma` is still sneaking ~1M below `lzma` at all levels.