neo4j

Has anyone used Graph-based Databases (http://neo4j.org/)?

I have used Relational DB's a lot and decided to venture out on other types available. This particular product looks good and promising: http://neo4j.org/ Has anyone used graph-based databases? What are the pros and cons from a usability prespective? Have you used these in a production environment? What was the requirement that prompt...

Counting primitives in Neo4j

I have been reading through the documentation for neo4j and it's components and have yet to come across functionality that lets me query the total number of primitives (nodes, relationships, and properties) in the graph. Does this functionality exist somewhere or am I going to have to write code that traverses the entire graph counting a...

Hype around graph databases... why ?

There is some hype around graph databases. I'm wondering why. What are the possible problems that one can be confronted with in today's web environment that can be solved using graph databases? And are graph databases suitable for classical applications, i.e. can one be used as a drop-in replacement for a Relational Database? So in fac...

Graph Database in Java (other than Neo4J)

Greetings, Is there any open source graph database available other than Neo4J?? NOTE: Why not Neo4J? Neo4J is opensource, but counts primitives (number of nodes,relationships & properties). If you are using it for commercial use. And does not have any straight forward information of pricing on official website. so there can be potenti...

NoSql - which is best for my needs - i am having mental breakdown

I am building a Reddit clone in Erlang. I am considering using some erlang web frameworks but this is not the problem. I am having a problem selecting a database. How it works; I have multiple dedicated reddits. Examples, science, funny, corporate, sport. You could consider them sub reddits. Each sub reddit has categories. A user c...

How is neo4j persistence implemented?

How is neo4j persistence of nodes and relations implemented? How are indexes handled? ...

How would you implement a revision control system for your models in your prefered db paradigm ?

I found out that RCS for models is an interesting problem to solve in the context of data persistence. They are several solution using the django ORM to achieve this django-reversion and AuditTrail each of which propose their own way to do it. Here is the model (in django-model-like format) which I would like to have revisions : class ...

Neo4j Documentation

I've been looking into setting up and trying out Neo4j on Amazon EC2 however I seem to have hit a road block with finding documentation that I can use. For example, this page mentions "Clustering, High Availability and Online Backup are add-on components that manage distribution and consistency over several live or offline node spaces."...

What is the difference between GraphDatabaseService or NeoService in neo4j

I'm learning to use neo4j, but am a bit confused on its usage. When I'm adding nodes and relationships, I can do it like this: GraphDatabaseService graphDb = new EmbeddedGraphDatabase("C:/temp/graphdb"); Transaction tx = graphDb.beginTx(); try { org.neo4j.graphdb.Node node = graphDb.createNode(); ... I could also do it like this: ...

Convert Neo4j DB to XML?

Can I convert Neo4J Database files to XML? ...

Problem Working with Neo

I downloaded Neoclipse Source and downloaded the Neo4J source. However some of the classes that the Neoclipse source file refers to are not found in the Neo4J source. Are they deprecated? Can I get an updated version of the Neoclipse? ...

How can I store this kind of graph in neo4j for fast traversal?

This is a graph whose nodes exist in many connected components at once because a node's relationships are a collection of edge groups such that only one edge per edge group can be present at once. I need to be able to find all of the connected components that a node exists in. What would be the best way to store this graph in neo4j to qu...

How can I specify which relationship type to use as a function of the current node at every step of a traversal with neo4j?

I'd like to traverse my graph using the neo4j traversal API, but I need to be able to specify which relationship type to use at every step, and the relationship type to use needs to be a function of the current node. Is there a way to do this? ...

Is it a good idea to use MySQL and Neo4j together?

I will make an application with a lot of similar items (millions), and I would like to store them in a MySQL database, because I would like to do a lot of statistics and search on specific values for specific columns. But at the same time, I will store relations between all the items, that are related in many connected binary-tree-like ...

Cassandra instead of MySQL for social networking app

I am in the middle of building a new app which will have very similar features to Facebook and although obviously it wont ever have to deal with the likes of 400,000,000 million users it will still be used by a substantial user base and most of them will demand it run very very quickly. I have extensive experience with MySQL but a socia...

Difference between graph database: Neo4j & AllegroGraph

Hi All, What is the difference between this 2 graph DB: Neo4j and AllegroGraph? Which is better for JAVA Web programming? Thanks Erwin ...

neo4j - is there a C# version/binding?

Hi, Is there a C# version/binding for neo4j? It looks like exactly what I want, but I'm working in C# on .net. thanks ...

Java application on windows server possibility?

I'd like to know if it is possible to have this application (neo4j) running on windows server 2008 alongside an asp.net mvc application. Reason for this, I need to access the graph database (neo4j) which provides a RESTful service from my mvc application. How would I go about setting up this architecture? ...

NoSQL or Ehcache caching ?

I'm building a Route Planner Webapp using Spring/Hibernate/Tomcat and a mysql database, I have a database containing read only data, such as Bus Stop Coordinates, Bus times which is never updated. I'm trying to make the app run faster, each time the application is run it will preform approx 1000 reads to the database to calculate a rout...

Neo4j Performing shortest path calculations on stored data

I would like to store the following graph data in the database, graph.makeEdge( "s", "c", "cost", (double) 7 ); graph.makeEdge( "c", "e", "cost", (double) 7 ); graph.makeEdge( "s", "a", "cost", (double) 2 ); graph.makeEdge( "a", "b", "cost", (double) 7 ); graph.makeEdge( "b", "e", "cost", (double) 2 ); Then run the Dijskra algorighm...