Reputation: 12378
From what I read here: neo4j cypher rest api
you can get a cypher speed up when using parameters wherever possible in order to let the server cache query plans.
So is there a speed up or performance gain when I use
cypher with parameters on the rest api
vs
rest api without using cypher queries?
Or in other words, if I have to use the neo4j rest api, would it be a good idea(performance wise) to only use the cypher queries portion with parameters vs the rest of the api
Upvotes: 1
Views: 1319
Reputation: 33145
Cypher is probably pretty close for simple operations, like adding a node, or changing the properties of a node (although raw REST might be slightly faster), and Cypher is certainly faster for more complex operations that involve traversals. So, yes, I think you could get away with using Cypher exclusively pretty easily.
Upvotes: 3