Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
06-25-2019 04:57 PM
Hi all,
I'm running a Neo4j instance on localhost via Neo4j Desktop. I'm connecting to the instance via a Node.js/Express server (also running locally).
For some reason the round-trip time for basic queries (i.e. fetching a node by an indexed ID) is taking around 100ms. I checked the ResultSummary(resultAvailableAfter
) and it says the query executed in 1ms. Since everything is running on localhost, I don't understand where the 100ms of latency is coming from. Any ideas?
Solved! Go to Solution.
06-27-2019 08:44 AM
What are your memory configurations? Are you doing any processing of the data on the node / express side? Doing any authentication or have any middleware running? What is the time when running directly in the neo4j browser?
If the query time is lower when using the browser, chances are the latency is coming from node / express.
06-27-2019 08:44 AM
What are your memory configurations? Are you doing any processing of the data on the node / express side? Doing any authentication or have any middleware running? What is the time when running directly in the neo4j browser?
If the query time is lower when using the browser, chances are the latency is coming from node / express.
06-27-2019 11:34 AM
It's just milliseconds and I don't think it's performing slower. Also, computer performance matters. So, if you have lower memory hooked, then you may also get result in a slower.
All the sessions of the conference are now available online