Bloom Filter Datatype for Redis
Clone or download
Latest commit 955989f Oct 22, 2018

ReBloom - Bloom Filter Module for Redis

This module provides two probabalistic data structures as Redis data types: Bloom Filters and Cuckoo Filters. These two structures are similar in their purpose but have different performance and functionality characteristics


Quick Start Guide

  1. Launch ReBloom with Docker
  2. Use Rebloom with redis-cli

Note: You can also build and load the module yourself.

You can find a command reference in

1. Launch ReBloom with Docker

docker run -p 6379:6379 --name redis-rebloom redislabs/rebloom:latest

2. Use ReBloom with redis-cli

docker exec -it redis-rebloom bash

# redis-cli

Start a new bloom filter by adding a new item

#> BF.ADD newFilter foo
(integer) 1

Checking if an item exists in the filter

#> BF.EXISTS newFilter foo
(integer) 1

Building and Loading ReBloom

In order to use this module, build it using make and load it into Redis.


Invoking redis with the module loaded

$ redis-server --loadmodule /path/to/

You can find a command reference in docs/