If you’ve worked with Neo4j at scale — meaning you’ve wanted to load millions or billions of relationships — you have probably encountered this DeadlockDetectedException error message at one time or another:
org.neo4j.kernel.DeadlockDetectedException: ForsetiClient[transactionId=10128,
clientId=85] can’t acquire UpdateLock{owners=client: ForsetiClient… This is the message you get when you try to write relationships to the same node at the same time when using a multi-threaded loading progra...
Read it: Mix and Batch: A Technique for Fast, Parallel Relationship Loading in Neo4j