Hi John, The High Availability implementation of Neo4j behaves in the same way.
Reads in HA are done from the local store. An interesting side effect of this is that while all instances in a HA cluster will store the same data, they can each have a different dataset in cache. This can, with some consistent request routing, be used for what we call "cache sharding". -tobias On Tue, Feb 8, 2011 at 10:10 AM, yehohan...@googlemail.com < yehohan...@gmail.com> wrote: > Hello Jim, > To add to the previous question about lazy loading, how does highavailable > implementation of neo4j behave? > > John > > Sent from my Nokia phone > -----Original Message----- > From: Jim Webber > Sent: 08/02/2011 09:16:36 > Subject: Re: [Neo4j] Solve a problem using neo4j > > Hi Ori, > > > 1. About the iterator - if I get a large amount of results (millions) it > > cannot be held in memory. Does the iterator work on in-memory collection, > or > > there is something like JDBC fetch size? > > For the embedded case, iterators are lazy so you won't hurt yourself. For > the REST API results of traversers are built up in memory so you can hurt > yourself. > > > 2. Is there an example for what I'm looking for or can someone give > pseudo > > code example for #3? > > That's pretty domain specific. But I found that looking at the Social > Network example gave me enough understanding of the simple traverser API to > get going: > > http://blog.neo4j.org/2009/09/social-networks-in-database-using-graph.html > http://components.neo4j.org/neo4j-examples/1.2-SNAPSHOT/social-network.html > > Jim > > > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Tobias Ivarsson <tobias.ivars...@neotechnology.com> Hacker, Neo Technology www.neotechnology.com Cellphone: +46 706 534857 _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user