@redis/bloom
TypeScript icon, indicating that this package has built-in type declarations

5.0.0 • Public • Published

@redis/bloom

This package provides support for the RedisBloom module, which adds additional probabilistic data structures to Redis.

Should be used with redis/@redis/client.

⚠️ To use these extra commands, your Redis server must have the RedisBloom module installed.

RedisBloom provides the following probabilistic data structures:

  • Bloom Filter: for checking set membership with a high degree of certainty.
  • Cuckoo Filter: for checking set membership with a high degree of certainty.
  • T-Digest: for estimating the quantiles of a stream of data.
  • Top-K: Maintain a list of k most frequently seen items.
  • Count-Min Sketch: Determine the frequency of events in a stream.

For some examples, see bloom-filter.js, cuckoo-filter.js, count-min-sketch.js and topk.js in the examples folder.

/@redis/bloom/

    Package Sidebar

    Install

    npm i @redis/bloom

    Weekly Downloads

    3,032,732

    Version

    5.0.0

    License

    MIT

    Unpacked Size

    247 kB

    Total Files

    226

    Last publish

    Collaborators

    • leibale
    • dmaier-redislabs
    • shaya-redis