The problem:
Each iteration of a python loop sends a cypher-query to Neo4j that returns values. This takes a considerable amount of time and is a bottleneck, as the number of loop items is 50 or more.
Environment
- windows server 2019,
- Neo4j Server version: 3.5.9 (community),
- python 3.6
- Neo4j python driver 4.2.1
Question
Would one call to a custom stored procedure be faster than repeated client requests to Neo4j?
Details
The stored procedure would be passed cypher parameters for all 50 items, and need to return results for all 50.