

We believe our approach is more suitable for real-time real-world use cases where high throughput and low latency under concurrent operations are more important than processing a single serialized request at a time. This differs from other graph database implementations, which typically execute each query on all available cores of the machine. Each query, at any given moment, only runs in one thread. This allows reads to scale and handle large throughput easily. Each graph query is received by the main Redis thread, but calculated in one of the threads of the threadpool.

RedisGraph is bound to the single thread of Redis to support all incoming queries and includes a threadpool that takes a configurable number of threads at the module’s loading time to handle higher throughput. In RedisGraph 1.0, we didn’t release functionality to partition graphs over multiple shards, because having all data within a single shard allows us to execute faster queries while avoiding network overhead between shards. Video demonstration of RedisGraph and partitioning conceptsīefore getting into our benchmark, I should point out that Redis is a single-threaded process by default.

In fact, our initial benchmarks are already finding that RedisGraph is six to 600 times faster than existing graph databases! Below, I’ll share how we’ve benchmarked RedisGraph v1.0, but if you’d like more information on how we use sparse matrices, check out these links in the meantime: By representing the data as sparse matrices and employing the power of GraphBLAS (a highly optimized library for sparse matrix operations), RedisGraph delivers a fast and efficient way to store, manage and process graphs. Unlike existing graph database implementations, RedisGraph represents connected data as adjacency matrices instead of adjacency lists per data point. We released RedisGraph in preview/beta mode over six months ago, and appreciate all of the great feedback and suggestions we’ve received from the community and our customers as we worked together on our first GA version. RedisGraph is a Redis module developed by Redis to add graph database functionality to Redis. Today we are happy to announce the general availability of RedisGraph v1.0.
