----- Original Message ----- > On May 24, 2011, at 1:31 AM, R.I.Pienaar wrote: > > > > > > > ----- Original Message ----- > >> Hi all, > >> > >> I've been thinking for a while of experimenting with graph > >> databases > >> -- especially Neo4j[1], but there are others out there -- and just > >> this week I ran across a graph language, Gremlin[2]. > >> > >> I know Volcane has done some experimentation with Neo4j, but has > >> anyone else messed with any of these? > > > > we've spent a fair bit of time on neo4j and found it to be just too > > slow > > to really do what we needed :( The REST API is quite limited, while > > its > > extendable that would be a bit of work and its native access > > methods only > > really work well via jruby. > > When you say 'slow', do you mean at catalog insertion, or some > specific query?
both really, underneath it uses lucene which is awesome of course but its not that awesome for ever changing data really its more for appending data. Thats my gut feel anyway, other people might disagree. > > > We looked in storing the graphs in some document database after > > post > > processing them into a more palatable format and this seemed to > > work > > ok but it does feel like a hack. > > How did you pick your documents - catalogs containing resources and > edges, or all broken out separately? That seems the biggest > challenge to the document db - you either get a huge number of > objects to update each time, or you have a very large recursive > document that you're trying to query. we boiled them down to whats roughly in your dot graphs - my POC only cared for the relationships not so much for all the properties of those relationships. Obviously we need to care for the properties though so its complex. Depending on what nosql you choose though you can do updates of sub documents in an atomic way others are more geared towards appending only data. Here's a slide deck from eventbrite about their social graphing + mongo stuff http://brianz.s3.amazonaws.com/eventbrite-mongosv-social-graph.pdf kind of interesting. There was also a talk last week I think about storing graphs in document databases but the video isnt up yet. -- R.I.Pienaar -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
