neo4j embedded vs REST API

64 views
Skip to first unread message

divyanshu das

unread,
Oct 11, 2012, 8:53:56 AM10/11/12
to ne...@googlegroups.com
While using neo4j embedded java, I have to shutdown the neo4j database while making any operations. Is there a way to avoid shutting down the databse. 
I am using neo4j 1.6.1-community edition.

Michael Hunger

unread,
Oct 11, 2012, 9:02:41 AM10/11/12
to ne...@googlegroups.com
You have to shut-down the database to access / write to it from another process.

For the server you don't have to do this as the access is remotely anyway.

Michael

Am 11.10.2012 um 14:53 schrieb divyanshu das:

> While using neo4j embedded java, I have to shutdown the neo4j database while making any operations. Is there a way to avoid shutting down the databse.
> I am using neo4j 1.6.1-community edition.
>
> --
>
>

divyanshu das

unread,
Oct 11, 2012, 9:18:40 AM10/11/12
to ne...@googlegroups.com
My application is hosted on ec2. I need to make queries to the neo4j database to get some information. Till now we were using php wrapper to insert and update data in neo4j. So, without disturbing the current system, i.e. without shutting down the db, a parallel process using embedded java will make queries to fetch data and use it.

When I tried doing this on local machine, I had to stop the neo4j-service. Will it work on ec2?

Michael Hunger

unread,
Oct 11, 2012, 9:46:12 AM10/11/12
to ne...@googlegroups.com
No but you can add an endpoint to your db that allows you to extract/update the information to the graph. Either by exposing a custom set of endpoints that is focused on your domain
or by exposing a generic cypher endpoint.

Michael

--
 
 

Reply all
Reply to author
Forward
0 new messages