MyGit

RedisBloom/RedisBloom

Fork: 262 Star: 1758 (更新于 2025-12-04 19:47:01)

license: NOASSERTION

Language: C .

Probabilistic Datatypes Module for Redis

最后发布版本: v2.8.17 ( 2025-11-30 21:10:40)

官方网址 GitHub网址

GitHub issues CircleCI Dockerhub codecov

RedisBloom: Probabilistic Data Structures for Redis

Discord

logo

[!NOTE] Starting with Redis 8, all RedisBloom data structures are integral to Redis. You don't need to install this module separately.

We no longer release standalone versions of RedisBloom.

See https://github.com/redis/redis

Overview

RedisBloom adds a set of probabilistic data structures to Redis, including Bloom filter, Cuckoo filter, Count-min sketch, Top-K, and t-digest. Using this capability, you can query streaming data without needing to store all the elements of the stream. Probabilistic data structures each answer the following questions:

  • Bloom filter and Cuckoo filter:
    • Did value v already appear in the data stream?
  • Count-min sketch:
    • How many times did value v appear in the data stream?
  • Top-k:
    • What are the k most frequent values in the data stream?
  • t-digest:
    • Which fraction of the values in the data stream are smaller than a given value?
    • How many values in the data stream are smaller than a given value?
    • Which value is smaller than p percent of the values in the data stream? (What is the p-percentile value?)
    • What is the mean value between the p1-percentile value and the p2-percentile value?
    • What is the value of the nᵗʰ smallest/largest value in the data stream? (What is the value with [reverse] rank n?)

Answering each of these questions accurately can require a huge amount of memory, but you can lower the memory requirements drastically at the cost of reduced accuracy. Each of these data structures allows you to set a controllable trade-off between accuracy and memory consumption. In addition to having a smaller memory footprint, probabilistic data structures are generally much faster than accurate algorithms.

Documentation

https://redis.io/docs/latest/develop/data-types/probabilistic/

License

Starting with Redis 8, RedisBloom is licensed under your choice of: (i) Redis Source Available License 2.0 (RSALv2); (ii) the Server Side Public License v1 (SSPLv1); or (iii) the GNU Affero General Public License version 3 (AGPLv3). Please review the license folder for the full license terms and conditions. Prior versions remain subject to (i) and (ii).

Code contributions

By contributing code to this Redis module in any form, including sending a pull request via GitHub, a code fragment or patch via private email or public discussion groups, you agree to release your code under the terms of the Redis Software Grant and Contributor License Agreement. Please see the CONTRIBUTING.md file in this source distribution for more information. For security bugs and vulnerabilities, please see SECURITY.md.

最近版本更新:(数据更新于 2025-12-04 19:46:45)

2025-11-30 21:10:40 v2.8.17

2025-11-30 21:10:05 v2.6.25

2025-11-30 21:09:23 v2.4.20

2025-11-02 23:07:35 v2.8.16

2025-11-02 23:06:19 v2.4.19

2025-11-02 23:04:58 v2.6.24

2025-09-25 16:15:26 v2.8.10

2025-04-28 00:39:22 v2.8.7

2025-04-28 00:39:19 v2.6.18

2025-04-28 00:39:12 v2.4.15

主题(topics):

bloom-filter, redis, redis-module, redisbloom

RedisBloom/RedisBloom同语言 C最近更新仓库

2026-01-16 11:32:37 EdgeTX/edgetx

2026-01-16 08:29:47 darktable-org/darktable

2026-01-12 13:01:22 BasedHardware/omi

2026-01-12 04:54:28 turanszkij/WickedEngine

2026-01-11 23:45:46 gojue/ecapture

2026-01-11 06:22:22 utelle/SQLite3MultipleCiphers