Redisgraph: Does RedisGraph partition the Graph?

Created on 30 Mar 2019  路  14Comments  路  Source: RedisGraph/RedisGraph

1) Does RedisGraph partition the Graph? if so, what partitioning method is used?
2) is there any configuration I need to do for Graph partitioning if it is available?
3) what to keep in mind when designing the model for partitioning a large graph?

duplicate question

Most helpful comment

Thanks! Can we expect Graph partitioning sometime this year at very least?

I am also expecting RedisGraph can support the partitioning feature.

All 14 comments

Hi @kant111,
Currently RedisGraph does not performs any partitioning, the entire graph is stored in RAM on a single machine.

Thanks @swilly22. Any plans on when it will might be supported?

How do I avoid a single point of failure? can we replicate the entire graph across multiple nodes?

Thanks,
You can replicate the graph to other nodes within your Redis cluster, this is done automatically..

Does that mean the entire graph must fit into memory? There is no paging? other words there is no flushing to disk?

Correct, we've decided explicitly not to flush to disk to avoid performance hit,
the current implementation is doing its best to be compact, with that, the availability of large RAM memory systems today should enable users to hold large graphs entirely in memory on a single machine.

Thanks! Can we expect Graph partitioning sometime this year at very least?

I can't commit to that

+1 for large graphs esp containerized or serverless w/ terraform ~> AWS

Thanks! Can we expect Graph partitioning sometime this year at very least?

I am also expecting RedisGraph can support the partitioning feature.

Thanks,
You can replicate the graph to other nodes within your Redis cluster, this is done automatically..

do you have a guideline document to introduce how to configure the Redis Cluster to replicate RedisGraph data between multiple nodes?

Incase you're using the open source Redis cluster, you can create one which has one primary and multiple replicas see here

Incase you're using the open source Redis cluster, you can create one which has one primary and multiple replicas see here

Thank you for the reply, I followed the guideline to complete the configuration, but I am not somewhere have the issue, when I tried to test failover, i shut down one master node from the cluster(3 masters and 3 slaves), the RedisInsight cannot load it, but looks shut down one slave node, RedisInsight still can load the graph. BTW, i check the RDB file, i don't see the RDB file replicated between master <-> slave node...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fantasticKe picture fantasticKe  路  5Comments

Sceat picture Sceat  路  7Comments

sidenAlex picture sidenAlex  路  3Comments

esokullu picture esokullu  路  3Comments

WitchsCat picture WitchsCat  路  10Comments