Comment on Ask HN: Implementing a graph database using Postgres tables for nodes and edges?parentComments−pjonesdotca10yWhile the author admits that the documentation advises to use the traversal API (which gives the best performance) he goes with cypher over the REST interface which would never match a direct db connection. It's a fundamental flaw in his comparison.−berdario10yI noticed that, but he's doing a single REST query for every timing:https://github.com/jhb/neo4j-experiements/blob/master/query_...There's no way that a single HTTP request is responsible for a difference in hundreds of seconds(his benchmark code isn't really sound, but I don't see how this can affect a difference so striking)
Comments
While the author admits that the documentation advises to use the traversal API (which gives the best performance) he goes with cypher over the REST interface which would never match a direct db connection. It's a fundamental flaw in his comparison.
I noticed that, but he's doing a single REST query for every timing:
https://github.com/jhb/neo4j-experiements/blob/master/query_...
There's no way that a single HTTP request is responsible for a difference in hundreds of seconds
(his benchmark code isn't really sound, but I don't see how this can affect a difference so striking)