Re: [Neo4j] Spring Data Neo4j: LabelBasedStrategyCypherHelper.getNodesWithLabel executed for every returned node (slow performance)

2014-03-19 Thread Lorenzo Speranzoni (@inserpio)
Trying to give you some of my bandwidth :) I thought that changing LabelBasedNodeTypeRepresentationStrategy.readAliasFrom in the following way would have provided some benefits, but no… performance slowdown comes from somewhere else... Of course I'm missing almost everything about SDN implementa

Re: [Neo4j] Spring Data Neo4j: LabelBasedStrategyCypherHelper.getNodesWithLabel executed for every returned node (slow performance)

2014-03-18 Thread Michael Hunger
Yes, I know it sucks that the remote performance is not good for OGM operations. But to make it en-par it would mean a rewrite of the whole SDN codebase which is something I just cannot afford just so. We have many customers also using embedded in production for various reasons. (One being perf

Re: [Neo4j] Spring Data Neo4j: LabelBasedStrategyCypherHelper.getNodesWithLabel executed for every returned node (slow performance)

2014-03-18 Thread Lorenzo Speranzoni (@inserpio)
Hi Micheal, congratulation for your great job with SDN 3.0.1, I'm currently working on it to understand all its features. I'm currently developing repositories with Cypher @Query statement and to proceed with my learning path I'm going to follow your suggestion and test @QueryResult. In a

Re: [Neo4j] Spring Data Neo4j: LabelBasedStrategyCypherHelper.getNodesWithLabel executed for every returned node (slow performance)

2014-03-18 Thread Lorenzo Speranzoni (@inserpio)
Hi Micheal, Il giorno lunedì 17 marzo 2014 22:06:13 UTC+1, Michael Hunger ha scritto: > > Lorenzo, > > unfortunately labels are not returned with the nodes from the remote API > so they have to be fetched separately. > > Also in general I don't advise the use of SDN against a remote server, >

Re: [Neo4j] Spring Data Neo4j: LabelBasedStrategyCypherHelper.getNodesWithLabel executed for every returned node (slow performance)

2014-03-18 Thread Lorenzo Speranzoni (@inserpio)
Hi Phillipe, thanks for your precious reply. I'm actually thinking that in general we should decide whether to discard or use Object Graph Mapping modelling more or less the same way we decide to use Hibernate (or a similar Object Relational Mapping) in the relational world: automatic mapping b

Re: [Neo4j] Spring Data Neo4j: LabelBasedStrategyCypherHelper.getNodesWithLabel executed for every returned node (slow performance)

2014-03-17 Thread Michael Hunger
Lorenzo, unfortunately labels are not returned with the nodes from the remote API so they have to be fetched separately. Also in general I don't advise the use of SDN against a remote server, except if you know exactly what you're doing (i.e. use repositories with cypher statements and mapped

[Neo4j] Spring Data Neo4j: LabelBasedStrategyCypherHelper.getNodesWithLabel executed for every returned node (slow performance)

2014-03-17 Thread Lorenzo Speranzoni (@inserpio)
Hi everybody, I'm currently testing Spring Data Neo4j 3.0.1 with an already existent Neo4j 2.0.1 graph database. My log is displaying something like this: 2014-03-17 19:15:17,401 [DEBUG] [main] org.springframework.data.neo4j.rest.SpringRestCypherQueryEngine - Executing remote cypher query: mat