# RedisBloom **Repository Path**: wise_conduct/RedisBloom ## Basic Information - **Project Name**: RedisBloom - **Description**: Probabilistic Datatypes Module for Redis - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-13 - **Last Updated**: 2024-11-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![GitHub issues](https://img.shields.io/github/release/RedisLabsModules/redisbloom.svg)](https://github.com/RedisBloom/RedisBloom/releases/latest) [![CircleCI](https://circleci.com/gh/RedisBloom/RedisBloom.svg?style=svg)](https://circleci.com/gh/RedisBloom/RedisBloom) [![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/redislabs/rebloom.svg)](https://hub.docker.com/r/redislabs/rebloom/builds/) [![codecov](https://codecov.io/gh/RedisBloom/RedisBloom/branch/master/graph/badge.svg)](https://codecov.io/gh/RedisBloom/RedisBloom) [![Mailing List](https://img.shields.io/badge/Mailing%20List-RedisBloom-blue)](https://groups.google.com/forum/#!forum/redisbloom) [![Gitter](https://badges.gitter.im/RedisLabs/RedisBloom.svg)](https://gitter.im/RedisLabs/RedisBloom?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) # RedisBloom - Bloom Filter Module for Redis RedisBloom module provides four datatypes, a Scalable **Bloom Filter** and **Cuckoo Filter**, a **Count-Min-Sketch** and a **Top-K**. **Bloom and Cuckoo filters** are used to determine (with a given degree of certainty) whether an item is present or absent from a collection. While **Count-Min Sketch** is used to approximate count of items in sub-linear space and **Top-K** maintains a list of K most frequent items. ## Quick Start Guide 1. [Launch RedisBloom with Docker](#launch-redisbloom-with-docker) 1. [Use RedisBloom with redis-cli](#use-redisbloom-with-redis-cli) Note: You can also [build and load the module](#building-and-loading-redisbloom) yourself. ### 1. Launch RedisBloom with Docker ``` docker run -p 6379:6379 --name redis-redisbloom redislabs/rebloom:latest ``` ### 2. Use RedisBloom with `redis-cli` ``` docker exec -it redis-redisbloom bash # redis-cli # 127.0.0.1:6379> ``` Start a new bloom filter by adding a new item ``` # 127.0.0.1:6379> BF.ADD newFilter foo (integer) 1 ``` Checking if an item exists in the filter ``` # 127.0.0.1:6379> BF.EXISTS newFilter foo (integer) 1 ``` ## Building and Loading RedisBloom In order to use this module, build it using `make` and load it into Redis. ### Loading **Invoking redis with the module loaded** ``` $ redis-server --loadmodule /path/to/redisbloom.so ``` ## Client libraries | Project | Language | License | Author | URL | | ------- | -------- | ------- | ------ | --- | | redisbloom-py | Python | BSD | [Redis Labs](https://redislabs.com) | [GitHub](https://github.com/RedisBloom/redisbloom-py) | | JReBloom | Java | BSD | [Redis Labs](https://redislabs.com) | [GitHub](https://github.com/RedisBloom/JReBloom) | | rebloom | JavaScript | MIT | [Albert Team](https://cvitae.now.sh/) | [GitHub](https://github.com/albert-team/rebloom) | | phpredis-bloom | PHP | MIT | [Rafa Campoy](https://github.com/averias) | [GitHub](https://github.com/averias/phpredis-bloom) | | phpRebloom | PHP | MIT | [Alessandro Balasco](https://github.com/palicao) | [GitHub](https://github.com/palicao/phpRebloom) | ## Documentation Documentation and full command reference at [redisbloom.io](http://redisbloom.io). ## Mailing List / Forum Got questions? Feel free to ask at the [RedisBloom mailing list](https://groups.google.com/forum/#!forum/redisbloom). ## License Redis Source Available License Agreement - see [LICENSE](LICENSE)