[Neo4j] In memory graph

Marko Rodriguez okrammarko at gmail.com
Thu Nov 4 19:26:50 CET 2010


There are two solutions to this that I see.

1. Use Blueprints [ http://blueprints.tinkerpop.com ] and have a Neo4jGraph (on disk) and multiple TinkerGraphs (in-memory). Through Blueprints, its all the same API.

2. If you want to code specifically to the Neo4j API, then you can implement the Graph API in Neo4j to talk to TinkerGraph.
	- this would be cool for lots of people if someone wrote a Neo4j Graph API to Blueprints. This way, the Neo4j API could work for OrientDB, Sail, TinkerGraph, Redis, InfiniteGraph (soon), etc.

Good luck,


On Nov 4, 2010, at 12:21 PM, Walaa Eldin Moustafa wrote:

> Hi,
> Is there a way to create an in-memory neo4j graph, without having to
> store it on disk? The constructor EmbeddedGraphDatabase(String)
> requires the storage location as a parameter. Is there any other
> constructor or method that can create in-memory graphs?
> What I am essentially trying to do is to have a single very big graph
> stored on disk, and a bunch of small graphs that I would like to keep
> in memory. What is the best configuration to do that? Multiple
> EmbeddedGraphDatabase instances, or one instance with multiple graphs
> ( I actually do not know if the latter thing exists), etc?
> Thanks,
> Walaa.
> _______________________________________________
> Neo4j mailing list
> User at lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user

More information about the User mailing list