Module Hub Beta

Redis Graph

A graph database that supports a subset of neo4j's Cypher query language

This project is a Redis module that implements a graph database. Nodes in the graph represent entities such as persons or places, and connections such as ‘visit’ are made between the different entities.

Entities may have multiple attributes, so Redis Hashes are optimal for storing them and a node in the graph is a Hash in the entity’s key. For example, suppose we had a person entity representing Barack Obama. That entity’s key in Redis would be “Barack Obama”, and two of its fields could be “age” (55) and “profession” (ex-president). We could also have another entity under the key “Hawaii” with an attribute “population” (1442949).

Finally we could construct a simple graph by connecting Barak Obama with an edge representing the relation “born” with Hawaii.

© 2017 Redis Labs, Inc. All rights reserved.