@gomomento/sdk-nodejs-compression-zstd
v0.116.0
Published
Compression extensions (zstd version) for Momento node.js SDK
Downloads
178
Readme
{{ ossHeader }}
zstd Compression Extensions for Momento Node.js SDK
This package provides extensions for the Momento Node.js SDK to support zstd compression and decompression of data that
is stored using the CacheClient.set function and accessed through the CacheClient.get function. Using compression
can significantly reduce your data transfer costs if your cache values are large text values, such as JSON objects.
This is an alternative to the main @gomomento/sdk-nodejs-compression package, which provides similar extensions but uses the gzip compression library rather than zstd. zstd may be slightly faster than gzip for certain types of workloads, but it is not yet supported in the node.js standard library, so this extension requires an additional binary dependency that may require extra steps to package into your production environment.
To use the library, you will need to install it from npm:
npm install @gomomento/sdk-compression-zstdFor more information, see:
{{ ossFooter }}
