Is it possible to run Neo4j in memory only without any persistent database/file storage?
The data coming from several xml/json files, and we have to load them into jvm heap memory by using ConcurrentHashmap. Since the data objects have dependencies (parent-child, child can link back to parent), we want to maintain an object graph. Is there any way to use Neo4J in this case; or can you suggest any framework that can support maintaining this kind of object graph.
Thanks you.
Neo4j has is an ImpermanentDataBase that is intended for unit testing, but it runs in memory.
See http://docs.neo4j.org/chunked/stable/tutorials-java-unit-testing.html.
Now, neo4j has first-class support for embedded database unlike the one used only during testing. More details at https://neo4j.com/docs/java-reference/current/tutorials-java-embedded/include-neo4j/.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With