Just share the graphdatabaseservice reference between threads. It is threadsafe.

Sent from mobile device

Am 28.04.2014 um 12:37 schrieb Sotiris Beis <[email protected]>:

> Hi,
> 
> I am creating an application with the following architecture. I have one 
> thread that runs a crawler, collecting data from the web and creating a Neo4j 
> database. A second thread that analyses the aforementioned Neo4j database. A 
> need an instance of the same database in each thread. As far as I know the 
> embeded version of Neo4j doesn't allow multiple instances of the same 
> database. Is there another solution? 
> 
> My code is in java so I need a java api.
> 
> Thanks in advance.
> Sotiris
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to