DEV Community

loading...

Consuming high-throughput Redis streams with Rust

goodtouch profile image Jean-Paul Bonnetouche ・1 min read

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 ;-)

Discussion (0)

pic
Editor guide