cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Too slow by rest api

Hi,

i have problems about performance of rest api
i use this query "Match n return count(n)" .

when i run it from neo4j browser, it says process completed in 1 ms
when i run it from rest api like that, it says process completed in 300 ms.

{"statements":[{"statement":
"MATCH (n) return count(n) ",
"parameters":{},
"resultDataContents":["rest"],"includeStats":true}]
}

my all queries which use rest api is too slow. i cant find source of problem.
there are 100.000 nodes and server version is 3.5

thansk

4 REPLIES 4

jggomez
Graph Voyager

Hello, The programming language you use or the tool, for example postman, could add latency time.

Thanks

Also the REST API is deprecated. We do not recommend using it.

i tested with bolt protocol. it is same.

is there any important point which i need to focus ?

Bolt protocol from the same machine or a different one? And which driver is being used (type and version)?