MCPcopy Index your code
hub / github.com/RedisGears/RedisGears

github.com/RedisGears/RedisGears @v8.4.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v8.4.0 ↗ · + Follow
2,807 symbols 7,301 edges 272 files 242 documented · 9%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

GitHub issues CircleCI Dockerhub Total alerts

RedisGears

Forum Discord

logo

RedisGears is a dynamic framework for data processing in Redis. RedisGears supports transaction, batch, and event-driven processing of 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.

As of v1.0.0, code for RedisGears must be written in Python. However, an internal C API exists and can be used by other Redis modules. Support for other languages is being planned.

Contact Us

If you have questions or feedback, or want to report an issue or contribute some code, here's where you can get in touch:

License

RedisGears is licensed under the Redis Source Available License Agreement.

Extension points exported contracts — how you extend this code

MapOperation (Interface)
(no doc) [1 implementers]
plugins/jvmplugin/gears_runtime/src/main/java/gears/operations/MapOperation.java
ForeachOperation (Interface)
(no doc) [1 implementers]
plugins/jvmplugin/gears_runtime/src/main/java/gears/operations/ForeachOperation.java
FilterOperation (Interface)
(no doc) [1 implementers]
plugins/jvmplugin/gears_runtime/src/main/java/gears/operations/FilterOperation.java
AsyncMapOperation (Interface)
(no doc) [1 implementers]
plugins/jvmplugin/gears_runtime/src/main/java/gears/operations/AsyncMapOperation.java
AsyncFilterOperation (Interface)
(no doc) [1 implementers]
plugins/jvmplugin/gears_runtime/src/main/java/gears/operations/AsyncFilterOperation.java

Core symbols most depended-on inside this repo

array_len
called by 185
src/utils/arr.h
GearsPyDecRef
called by 123
plugins/python/redisgears_python.c
verifyRegistrationIntegrity
called by 74
pytest/common.py
getConnectionByEnv
called by 72
plugins/jvmplugin/pytest/common.py
ThrowNew
called by 60
plugins/jvmplugin/src/jni.h
run
called by 58
plugins/python/GearsBuilder.py
array_free
called by 57
src/utils/arr.h
JVM_GetException
called by 56
plugins/jvmplugin/src/gears_jvm.c

Shape

Function 1,679
Method 709
Class 355
Route 28
Enum 22
Interface 14

Languages

C47%
Python26%
C++14%
Java12%

Modules by API surface

plugins/python/redisgears_python.c276 symbols
plugins/jvmplugin/src/jni.h261 symbols
src/execution_plan.c185 symbols
src/module.c173 symbols
plugins/jvmplugin/src/gears_jvm.c141 symbols
pytest/test_errors.py89 symbols
pytest/test_register.py82 symbols
src/record.c76 symbols
pytest/test_basics.py75 symbols
src/readers/keys_reader.c63 symbols
src/readers/streams_reader.c61 symbols
src/cluster.c61 symbols

For agents

$ claude mcp add RedisGears \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact