Hi,

We looking into the options for sharding Neo4j. Using Gizzard (which is a
sharding framework from Twitter) seemed to be one of the possibilities. I
posting here so that everyone can evaluate this possibility and offer
suggestions. Did anyone else try sharding of Neo4j?

I have the following questions and possible solutions. The problem after
sharding would be representation of vertices which are outside of the a
shard and querying (traversal) on top of the sharded graph.

Eg: Let there be a straight line graph between 3 vertices (A --> B --> C)
and vertices A, B are in shard-1 and vertex C in shard-2.

Then in shard-1, the out-edge of B should point to something but the actual
vertex C's info would be in shard-2. In shard-1, B can point to an alias of
C and rest of C's info (i.e. property & relationship info) would be in
shard-2. Further we can associate a property with each vertex which
indicates whether a vertex is in local shard or foreign shard.

For traversal over sharded graph, I think we can extend the Neo4j's
traversal so that it handle's this case (look into another shard where
vertex C is and continue the traversal).

What are your suggestions on this?

Thank you.

Regards,
Raghava.
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to