https://github.com/jexp/neo4j-in-memory-server
In-memory Neo4j server for testing using the ImpermanentGraphDatabase
https://github.com/jexp/neo4j-in-memory-server
Last synced: about 1 year ago
JSON representation
In-memory Neo4j server for testing using the ImpermanentGraphDatabase
- Host: GitHub
- URL: https://github.com/jexp/neo4j-in-memory-server
- Owner: jexp
- Created: 2014-01-17T01:58:56.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2017-02-14T01:31:00.000Z (over 9 years ago)
- Last Synced: 2025-03-30T21:51:11.287Z (over 1 year ago)
- Language: Java
- Size: 10.7 KB
- Stars: 24
- Watchers: 6
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Neo4j-In-Memory Server for Neo4j 3.1.x
**Only for Testing**
Uses the Neo4j ImpermanentGraphDatabase as Database for your Neo4j server.
So should not access disk but needs more RAM as it writes / reads all the data from an in-memory filesystem abstraction.
Might be faster to start and incur less transactional overhead.
To deploy run `copy.sh /path/to/neo4j-3.1.1` to build the latest version and add this bootstrap file into that server.
or unzip the provided [inmemory-server-3.1.zip](https://dl.dropboxusercontent.com/u/14493611/inmemory-server-3.1.zip) in your `$NEO4J_HOME/lib` directory.
Content of `inmemory-server-3.1.zip`:
* neo4j-server-3.1.1-tests.jar
* neo4j-kernel-3.1.1-tests.jar
* neo4j-io-3.1.1-tests.jar
* inmemory-3.1-SNAPSHOT.jar
And restart your server, it will not keep content across restarts.
and there is an REST endpoint to delete the db content while the server is running.
`curl -XDELETE http://localhost:7474/test/clean`
The in-memory server will be picked up automatically.
Starts / Restarts should also be faster.