Hi, All,

My request is to get the node by label and property name, 
then for each node retrieved get all its relationships and the other node.
code as following:

ResourceIterable<Node> iterable = graphDb.findNodesByLabelAndProperty(new 
MyLabel(label), name, value);
Iterable<Relationship> iterable = node.getRelationships(RelationshipTypes.
getRelationType(type), Direction.valueOf(dir));

All the serialized operations are carried out by a plugin in server end and 
then return data in one package.

Currently, I warmed up the neo4j server(v2.1.2) with anther plugin, which 
execute '*match (n)-[r]-() where not has(n.foo) and not has(r.foo) return 
count(n)*'.

It seems the warm up worked, since the response time of a certain request 
decreased from 1s to 100+ms. 
But when I ran the request again, the response time dropped to 4ms. Shall 
we can say, the warm up is not the most efficient way to cache the request?
And how can I warm up again the kind request?

Thanks in advance!
--Havy

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to neo4j+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to