PragmaTwice opened a new pull request, #1871: URL: https://github.com/apache/kvrocks/pull/1871
In this PR, CBOR is used as a storage format alternative (written to/read from hard drive) for the JSON data type (RedisJSON). [CBOR](https://cbor.io/) (RFC 8949) is a binary data format compatible to the JSON data model, hence it has more efficient encoding/decoding performance and more compact data size. From my observation and simple benchmark, using CBOR instead of JSON as a storage format and (JSON document testing datasets from RedisJSON](https://github.com/RedisJSON/RedisJSON/tree/master/tests/benchmarks/datasets), kvrocks speed up its performance of `JSON.GET` and `JSON.SET` by ~5%, and its storage usage reduced by more than 10%. NOTE: The default storage format of JSON data type is still JSON. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
