DEV Community

Jean-Paul Bonnetouche
Jean-Paul Bonnetouche

Posted on

Consuming high-throughput Redis streams with Rust

Today I’d like to share a small rust library that helps you produce and consume Redis stream data.

Based on redis-rs, this library is a port of the Elixir Redix.Stream library.

We have been using at Klaxit to process the combined log streams from Heroku’s Logplex and automatically fix some performance issues that sometimes happen on Heroku even before our users notice them.

We also use it to scale some services when needed.

It’s been running in production with great success for more than six months.

The project is available here: https://github.com/klaxit/redis-stream-rs.

Feel free to check the README for simple and more advanced (aka consumer groups) usage!

This is our first Rust project, so all feedbacks are welcome!

Enjoy ;-)

Top comments (0)