Gears

RedisGears supports batch and event-driven processing for Redis data.

What is RedisGears?

RedisGears is an engine for data processing in Redis. RedisGears supports batch and event-driven processing for Redis data. To use RedisGears, you write functions that describe how your data should be processed. You then submit this code to your Redis deployment for remote execution.

Supported languages

As of RedisGears v1.2, you can enable a plugin to select which programming language to use. It currently supports code written in either Python or Java.

Prior to v1.2, RedisGears only supported Python. However, an internal C API exists and can be used by other Redis modules. Support for other languages is being planned.

Getting started with RedisGears

RedisGears is implemented by a Redis module. To use RedisGears, you'll need to make sure that your Redis deployment has the module installed. Redis Enterprise Software supports the module natively.

If you're running open source Redis, you'll also need to install the RedisGears module before using it.

To get started with RedisGears, see the quick start tutorial for Python or Java.

To learn more about the RedisGears API and understand how it works under the hood, see the RedisGears docs.

Write-behind caching patterns

Redis users typically implement caching by using the look-aside pattern. However, with RedisGears, you can implement write-behind caching strategies as well.

Redis publishes RedisGears recipes to support write-behind. You can learn how to use these recipes in our write-behind caching guides for Python and Java.

More info

RATE THIS PAGE
Back to top ↑