Am 20.05.2014 um 10:06 schrieb Asger Johansen <[email protected]>:

> Hi,
> 
> I had a few question that I hope someone in here might be able to help me 
> with:
> 
> First of all, as far as I understand, when performing normal operations in 
> Neo4j, it will lock the relationships and nodes that are being used in the 
> transaction. When using the batch inserter, nothing will be locked and 
> therefore multiple processes should not access the database at the same time 
> then using the batch inserter. Is this understood right?
> 
Yes

> Secondly, When using the REST API to access the database each HTTP request 
> will be handled one at a time. Does this mean that all the queries in a 
> single HTTP request will be performed and the answer returned before the 
> queries in the next HTTP request start to be processed? Or is it done in 
> parallel? Could this potentially mean that a HTTP request batched with enough 
> queries would lock the access to the database for a long time?
http requests are handled in parallel

so if they don't access the same nodes and rels and have to wait for locks to 
be released they can progress independently
> 
> Thirdly, and also related the the second question, are a batch of queries in 
> a HTTP request inserted using the batch inserter or a normal transaction with 
> locks?

normal tx with locks
> 
> Thanks,
> Asger Johansen
> 
> 
> 
> -- 
> 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