Re: [Neo4j] Changes not pushed to slave as expected

2010-08-05 Thread suryadev vasudev
Neo team,

Which is correct? The slaves periodically ping the master and sync the
changes. Or the Master pushes the data to slaves.


Now that Neo is entering the world of high availability, can you please
promote Master-Follower for identifying the relation? The non-master
instances are not slaves really. They are equal to master and just out of
courtesy have agreed to co-operate with a peer server.

On Thu, Aug 5, 2010 at 7:28 AM, George Ciubotaru 
george.ciubot...@weedle.com wrote:

 Hi Peter,

 I'm working on using Neo4j with .NET technologies (through a REST service),
 not too much experience with Java. So, unfortunately, I won't be able to
 debug the code that easily (need Java tools for this that I'm not very
 familiar with).

 Thanks,
 George

 -Original Message-
 From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org]
 On Behalf Of Peter Neubauer
 Sent: 05 August 2010 14:51
 To: Neo4j user discussions
 Subject: Re: [Neo4j] Changes not pushed to slave as expected

 George,
 not really sure what is happening, seems the log rotate is not triggering
 the push? Could you mount and debug the source code?
 Otherwise, I can see if I can recreate it tomorrow ...

 Cheers,

 /peter neubauer

 COO and Sales, Neo Technology

 GTalk:  neubauer.peter
 Skype   peter.neubauer
 Phone   +46 704 106975
 LinkedIn   http://www.linkedin.com/in/neubauer
 Twitter  http://twitter.com/peterneubauer

 http://www.neo4j.org   - Your high performance graph database.
 http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



 On Wed, Aug 4, 2010 at 5:00 PM, George Ciubotaru 
 george.ciubot...@weedle.com wrote:
  Hello,
 
  In a master-slave environment I'm expecting that the changes done on the
 master to be pushed to the server when the logical logs are rotated (
 http://wiki.neo4j.org/content/Online_Backup_HA). I'm setting the logical
 log size (dataSource.setLogicalLogTargetSize(...)) to a small value to
 easily see the push but when the logs are rotated (I can see in the master
 store directory that a new nioneo_logical.log.v* is created) nothing is send
 to the slave. Everything works as expected when I manually call
 master.rotateLogAndPushToSlaves(), but I would like to avoid doing this
 manual job.
 
  On master side keep_logical_logs  auto_rotate are set to true. I'm using
 kernel version 1.1 and backup version 0.6.
 
  Can anybody help me with this?
 
  Thank you in advance,
  George
  ___
  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
 ___
 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


[Neo] Traversal Speed is just 1 millisecond per node

2010-05-15 Thread suryadev vasudev
We are considering Neo4J for a decision making application. The application
is analogous to a Library having 15 million books. We have BOOKS, PUBLISHERS
and STUDENTS as nodes. Every book will have a PUBLISHED_BY relationship to
one publisher. STUDENTS may borrow a book, reserve a book or return a
borrowed book. Each is a relationship type meaning BORROWED_BY, RESERVED_BY
and  RETURNS between BOOKS and STUDENTS.
When we traverse starting from a publisher, the traversing speed is 200-1000
nodes per millisecond. This is pure traversal to get a book count by
publisher.
The Neo is failing us when we make a slightly complex query.
Starting with a publisher, retrieve all books that are currently lent out.
Starting with a publisher, retrieve all books that were borrowed between May
1 2010 and May 10 2010.
The response time we got was 1-2 millisecond per book.
Before running the test, we created between 0-3 relationships for each book.
We have seeded 15,000 students ,1000 publishers and 15 million books.
And the server is a 8GB RAM machine.
I wonder why the traversal is drastically slow?
Regards
SDev
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo] Evaluating Neo4J as an enterprise class application

2010-05-02 Thread suryadev vasudev
We are evaluating Neo4J for a business critical application. There will be a
User Interface UI component to browse the graph, create nodes and properties
as well as create/modify relationships. The data set spans across 7 domains
and expected to be around 40 GB.
User will manipulate data in 3 domains. A back end integration is expected
to manage data in remaining 4 domains. I use the word domain to mean
nodes/relationships/attributes that are grouped to perform one activity like
Sale Order, Shipping, Distribution etc. The domains are related to each
other and queries traverse across different domains
We are expecting 500 users per hour to use the system. Each user may
initiate a query once in 2 minutes. Each query is expected to traverse
through 20,000 nodes and collect 10 properties for filtering/display.
I am accountable for implementing this system. You probably know what
accountable means:) Say it is related to Guillotine.
What should I do to convince myself to move forward? Things that come to my
mind are stability, scalability, auditing and monitoring. Stability means
the JVM/application won't crash. Scalability means each user will get
response in 1-2 second for up to 500 users. Auditing means the system
reports its performance for all interactions. Monitoring means health and
performance of the system are made visible.
Comments and pointers to related articles are appreciated.
TIA
SDev
___
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user