Neo4J On StackOverflow: Promise.all(), cartesian products, APOC
This week on Neo4j StackOverflow…
- Tezra performance tunes a graph global Cypher query by removing a cartesian product and brings down the execution time from 7700 seconds to 30 seconds.
- Bruno Peres suggests using the apoc.periodic.commit procedure to deal with a slow running import query.
- Yalamber shows how to use JavaScript’s Promise.all() to collect the results of multiple Cypher queries in a GraphQL resolver.
Sponsored by Neo4J