I have a RESTFul API which queries embedded neo4j database for recommendations for a user by hitting http:IP_ADDRESS/myapplication/user/{userId}/recommendations
I'm observing a very weird issue that for a particular user the response time to fetch the results (JSON) is quite high. It takes around 4 to 5 minutes. On the other hand for all other users who have even more number of friends the time is like fraction of seconds. Also i confirm that the recommendation logic is just finding nodes in the graph with same values as userId
.