iot, coding, raspberry pi, python, node.js, javascript, redis,

Building a Redis Compatible Visual Bloom Filter

Simon Prickett Simon Prickett 1 min read
Building a Redis Compatible Visual Bloom Filter

I wanted to take my previous Visual Bloom Filter project and enhance it so that, instead of a web front end and REST like API, it could instead use the Redis wire protocol. This would make it usable from any existing Redis client package or directly with the Redis CLI.

Screenshot from my live stream showing the Visual Bloom Filter working
Controlling the Visual Bloom Filter using redis-cli.

This was the first project in my Things on Thursdays IoT live streaming series. In the first episode which also served as a series introduction for Things on Thursdays, I built a simple fake Redis server in Python that implemented some of the Redis Set data type commands.


Enjoying this article? Please consider buying me a coffee on Ko-Fi.
Your support helps to fund future projects!

In the first full episode dedicated to this project, I walked through my pre-existing Visual Bloom Filter project that uses a Raspberry Pi and a Pimoroni Unicorn Hat LED matrix. The code is in Python.


In the second episode, I combined the fake Redis server that I made in the “Series Introduction” stream with the Visual Bloom Filter project, creating a Visual Bloom Filter than can be used from any Redis client. I demonstrated usage with the redis-cli and Node Redis client for Node.js.


Simon Prickett
Written by Simon Prickett
Hugely Experienced Developer Relations Leader.