[Neo] Conneg in REST API

2010-03-23 Thread Jim Webber
Just another thought: if we're going to use multiple representation formats, then we should use content negotiation. Jim ___ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo] Continuing REST API development

2010-03-23 Thread Jim Webber
Hi Mattias, - GET / will return URIs for creating nodes and the reference node as well as the index starting point. Sounds sensible. What about using Atom feeds as the representation for a node set and AtomPub for handling node creation etc? - To have a browse:able representation in

Re: [Neo] Relationship representation in REST

2010-04-21 Thread Jim Webber
Hi Mattias, There are use cases where the REST API shouldn't be chatty - using HTTP caching you effectively build up a local representation of a graph over time. At the moment we don't have any specific cache headers (AFAIK) which means that clients are allowed to cache representations for as

Re: [Neo] Conneg in REST API

2010-04-21 Thread Jim Webber
in the REST API today. 2010/3/23 Jim Webber j...@webber.name Just another thought: if we're going to use multiple representation formats, then we should use content negotiation. Jim ___ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org

Re: [Neo] Conneg in REST API

2010-04-21 Thread Jim Webber
;bloodtype/apos Original Message Subject: Re: [Neo] Conneg in REST API From: Jim Webber j...@webber.name Date: Wed, April 21, 2010 7:00 am To: Neo user discussions user@lists.neo4j.org Hey Peter, If we really want to cater for non-compliant

Re: [Neo] Transactions in Neo4j REST Server

2010-05-20 Thread Jim Webber
Hi fellow graph-tastic people, Allowing a transaction to span multiple requests was ruled out in the early version of the REST API. It's a dangerous pattern that allows for inadvertent (or even malicious) denial of service. If we're going to build systems that sympathetic to the Web, then

Re: [Neo4j] neo4j REST server configuration

2010-08-11 Thread Jim Webber
Perhaps something as simple as a Grinder script might help? Jim On 11 Aug 2010, at 17:57, Brock Rousseau wrote: Thanks Peter. Let us know if there is anything else we can provide in the way of logs or diagnosis from our server. -Brock On Tue, Aug 10, 2010 at 11:51 PM, Peter Neubauer

Re: [Neo4j] neo4j REST server configuration

2010-08-13 Thread Jim Webber
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 11, 2010 at 12:52 PM, Jim

Re: [Neo4j] Using the REST neo4j

2010-09-06 Thread Jim Webber
Hi Alex, AFAIK the neo-rest stuff isn't intended for you to create your own resources at this point. It's a way of projecting an internal graph onto the big graph (i.e. the Web). If you're going to build your own RESTful service at this point, then go ahead an use something like Jersey and

Re: [Neo4j] Neo4j Rest server security

2010-09-06 Thread Jim Webber
Hi Richard, The standalone REST server is great for a proof of concept but unless I am missing something it has no security at all. Is this true? Yes, that's true. You can configure Jetty to do HTTPS things however, and I'm sure that we can get neo-rest updated to use HTTPS on a per-resource

Re: [Neo4j] Using the REST neo4j

2010-09-06 Thread Jim Webber
Hi Alex, Isn't it a pitty that I'll have to duplicate all this work? Could you elaborate on what you'd need to do to avoid duplication? Are you suggesting you'd like to sit in the same Jersey instance as the neo-rest service? Jim ___ Neo4j mailing

Re: [Neo4j] Using the REST neo4j

2010-09-06 Thread Jim Webber
Hi Alex, While I still can achieve all these with the current packaging, it feels more hacky: I need to create a new Jetty6BasedWebServer or modify the existing one to enhance it with my own stuff. Each change would require compiling and repackaging the whole neo4j-rest. Definitely not as

Re: [Neo4j] Using the REST neo4j

2010-09-06 Thread Jim Webber
Hi Alex, Interesting... My main question is: what exactly is this package offering to the end user in the current form? IMO it cannot be an off-the-shelf product as there is no security. It is not a library either, as extending it is not so easy. Basically, and without any intention to harm

Re: [Neo4j] distributed neo4j

2010-09-07 Thread Jim Webber
Hi Atle, I'm thinking along different lines: something like distributed shared memory with caching (and performant cache invalidation). My old friend Savas Parastatidis implemented such a scheme around 10 years ago for his PhD, and I'm starting to think whether it'd be an appropriate approach

Re: [Neo4j] distributed neo4j

2010-09-08 Thread Jim Webber
Hi Ilya, I think eventually consistent, share nothing graph stores with merging/replication (master/master) is the way to go. The protocol doesn't have to be eager of course. While traditional DSMs have tried to maintain an abstraction similar to real memory, there's no reason why Neo

Re: [Neo4j] Graph algos in REST

2010-09-17 Thread Jim Webber
I'm not convinced I like the way this works: POST /node/123/paths {to: http://localhost:/node/456;, algorithm: shortestPath, max depth: 100} Isn't the intention to retrieve the shortest path? If so I'd prefer: GET

Re: [Neo4j] An attempt at documenting the internals and architecture of Neo

2010-10-27 Thread Jim Webber
Hi Chris, This is brilliant stuff, I really enjoy your writing style and am learning much from it. Keep it up. Jim On 27 Oct 2010, at 21:34, Chris Gioran wrote: Another post in the same series Neo4j Internals: Transactions (Part 2) - XaResources, Transactions and TransactionManagers

Re: [Neo4j] BFS help using neo4j on a graph with 200 million edges, 10 million nodes, (branching factor ca. 50)

2010-10-28 Thread Jim Webber
I was looking at the PHP-REST link on the Wiki but was taken to a broken link at: https://svn.neo4j.org/laboratory/components/rest/ Sorry about that David. The rest component is moving from the lab into normal project. So try this URI instead: https://svn.neo4j.org/components/rest/ Jim

Re: [Neo4j] [Neo] Transactions in Neo4j REST Server

2010-10-29 Thread Jim Webber
Hi MikKi, Transactions are everywhere in Neo4j, in fact each time you use the REST API a transaction wraps the work on the underlying graph store. I suspect you're wanting to control transaction lifecycle so that you can do bulk inserts for example? I have to say I'm not keen at all on

Re: [Neo4j] [Neo] Transactions in Neo4j REST Server

2010-11-02 Thread Jim Webber
uploading won't fit all my needs. I guess I'll have to write my own DB server for my own needs. MikKi 2010.10.29. 17:35 keltezéssel, Jim Webber írta: Hi MikKi, Transactions are everywhere in Neo4j, in fact each time you use the REST API a transaction wraps the work on the underlying graph

Re: [Neo4j] A random tale of load testing

2010-11-02 Thread Jim Webber
Hey Andres, Good work on the load testing. I think we can extend this approach further and make it even more realistic simply by increasing the test to be several hours and injecting a production-like workload from a domain. Does anyone on this list have any work profiles they might be able

Re: [Neo4j] Neo4j REST Server with path prefix

2010-11-17 Thread Jim Webber
Hi Christopher, We've deprecated the REST API from this release in favour of an overall Server platform (which combines the REST API, Web Admin interface, and other bits of platform), so we'll treat this as a feature request for the server. In the meantime, I've lodged a ticket:

Re: [Neo4j] REST Server API

2010-11-18 Thread Jim Webber
Hi Christopher, http://localhost:/node/1/relationships/in/{-list||types} This is a URI template, inviting you to replace the {...} with values of your own. In this case it's giving you the opportunity to provide a list of ampersand separated types. Now I believe this URI template syntax

Re: [Neo4j] REST Server API

2010-11-18 Thread Jim Webber
stuff with Savas Parastatidis and Ian Robinson. See: http://restinpractice.com And to be clear, I like this interface very much :-) Christopher On Thu, Nov 18, 2010 at 9:53 AM, Jim Webber j...@neotechnology.com wrote: Hi Christopher, http://localhost:/node/1/relationships

Re: [Neo4j] [ANN] Neo4j 1.2 Milestone 4, The Server.

2010-11-20 Thread Jim Webber
Hi Javier, And on the other hand, after I read the Getting Started with Neo4j Server, REST API and Future Neo4j Server Releases and Using the Neo4j Server with Java, I see there are some changes, like using reference_node instead of the old way reference node. The way to build a traverse

Re: [Neo4j] svn certificate problem

2010-11-23 Thread Jim Webber
I can confirm I have the same problem. It's irritating, but doesn't stop me from checking out/updating/committing. Jim On 24 Nov 2010, at 02:11, Anders Nawroth wrote: Hi! Unfortunately it will take at least five more days until the new certificate is in place. I'm checking out code

Re: [Neo4j] Datetimes in Neo4j REST Server

2010-11-23 Thread Jim Webber
Hi folks, My concern about this is that we're already taking liberties with the media type application/json. Adding this kind of annotation definitely takes us into very neo4j-specific territory (which might be a good thing). I responded to the ticket, saying that perhaps we should consider

Re: [Neo4j] Neo4j REST API and JAXB

2010-12-08 Thread Jim Webber
Hi Christopher, Although I can't immediately give you a solution to your JAXB question, I can give you another minor problem :-) The REST api is now merged with the Neo4j server and all current and future work is happening on the server component. It shouldn't involve any code changes for

Re: [Neo4j] Neo4j REST API and JAXB

2010-12-09 Thread Jim Webber
Hey Christopher, Thx Jim, I updated to V1.2.M05 Ah, cool. I hoped that would work :-) I had to change port and base URI. Is this http://components.neo4j.org/neo4j-rest is still valid? It's valid, but no further work will be done on it. I'd like to retire the component but before doing that

Re: [Neo4j] hello people

2010-12-12 Thread Jim Webber
Hi Jose, [warning: I wrote this code in my email client, it may not even compile, but it should give you the right idea] Rather than use inheritance to build your domain model, composition is preferred. So: class Person { Node node; public Person(String name, int age, Node dbNode) {

Re: [Neo4j] hello people

2010-12-13 Thread Jim Webber
Hello Andres, What is the recommendation on where to have the transaction logic? What is the best practice for that? Don't know if there is a best practice. I'd tend to keep transaction logic out of domain objects since I might reasonably want to transact over many nodes (through those

Re: [Neo4j] truncating / clearing out DB

2010-12-17 Thread Jim Webber
Hi Mike, Do you just want to start from a fresh database? In which case you could just stop the server, move the database files in data/graph.db to somewhere else (or delete them if you don't care), and start the server to get a blank slate. Jim

Re: [Neo4j] Transaction and REST API

2010-12-20 Thread Jim Webber
Hi Ido, At the moment each interaction with the RESTful service causes a back-end transaction to occur. We have been hesitant to allow transactions outside of the service boundary because they're an implementation detail, rather than being part of the service contract. Could you tell us which

Re: [Neo4j] Transaction and REST API

2010-12-20 Thread Jim Webber
Hi Ido, Those make good sense. And I think I have some reasonable RESTful approaches in mind for tackling them which don't need transactions (using Ian Robinson's typed links to forms approach here). 1. Bulk create of nodes and relations: - PUT a set of nodes and relations to the server,

Re: [Neo4j] Transaction and REST API

2010-12-23 Thread Jim Webber
Hi Ido, BULK resource are not so likable on RESTful people, but I guess it can work really well for my case. I think you're both right and wrong here :-) You're wrong when you say RESTful people don't like bulk updates. We do, but we prefer those updates to be just the same as any other

Re: [Neo4j] Transaction and REST API

2010-12-30 Thread Jim Webber
Hi Ido, [off topic for folks who are just interested in graphs, here be REST things] My question is Should I have a generic Transaction resource to allow atomic changes to any resource in my service which represent data? No, I don't think so (unless you mean a transaction in the commercial

Re: [Neo4j] Neo4j REST API and JAXB

2010-12-30 Thread Jim Webber
Hi Christoper, Peter, I wonder if this is some horrid coupling creeping in since AFAIK we also use Jackson for JSON production. Perhaps its own eccentricities are escaping our service boundary. Anyone know if Jackson is/isn't very compliant? Jim On 29 Dec 2010, at 23:41, Peter Neubauer

Re: [Neo4j] Transaction and REST API

2010-12-31 Thread Jim Webber
Hi Ido, How will you go about implement such change using REST interface? With the current default REST interface, you can't. But you can write an extension (either in the managed framework, or if you're brave/desperate in the unmanaged framework through JAX-RS) which can do this. I imagine

Re: [Neo4j] Neo4j REST API and JAXB

2010-12-31 Thread Jim Webber
is currently down once again :-( so I can not post the link to my question. Christopher On Thu, Dec 30, 2010 at 5:15 PM, Jim Webber j...@neotechnology.com wrote: Hi Christoper, Peter, I wonder if this is some horrid coupling creeping in since AFAIK we also use Jackson for JSON

Re: [Neo4j] 1.2 server

2011-01-06 Thread Jim Webber
Hi Miklós, Can you ensure that you're setting the Accept header correctly in your HTTP requests. We're much more pedantic about that than we used to be. Accept: application/json Jim ___ Neo4j mailing list User@lists.neo4j.org

Re: [Neo4j] 1.2 server

2011-01-06 Thread Jim Webber
Hi Miklós, Thanks for this, although it doesn't necessarily solve your issue, it does show some very silly behaviour in terms of redirects: GET / -- GET webadmin -- GET webadmin/ Hmmm. That's at least one redirect too many and I'll try to solve that, but in the meantime... I have a theory -

Re: [Neo4j] Newbie: Using Neo4j server

2011-01-10 Thread Jim Webber
Hi Stefan, 1. Is the REST API the only way to use the server? Right now, yes. We have plans for a binary protocol interface and native language bindings in the future however (or you could write your own). Anecdotally it seems that you lose one order of magnitude of performance with the REST

Re: [Neo4j] Newbie Question related to IMDB

2011-01-12 Thread Jim Webber
Hi Dave, Do you mean that you want to deploy Neo4j onto Tomcat? At the moment that's not supported (we don't produce a .war out of our build). Not sure what you mean by Neo4j application server though - can you clarify? Jim On 13 Jan 2011, at 02:30, david fauth wrote: I'm new to Neo4J and

Re: [Neo4j] Neo4J and sharding

2011-01-19 Thread Jim Webber
Hello Luanne, Right now the only viable approach would be cache sharding (i.e. not really sharding at all) whereby read requests for related bits of information are sent to a specific replica (thereby keeping those caches warm and relevant). Jim ___

Re: [Neo4j] Multiple running databases

2011-01-19 Thread Jim Webber
Hi Javier, At least it works for me, but, will there be support for multi databeses in the near future? In a word, yes. We have it in our backlog, though not for the 1.3 release. Jim ___ Neo4j mailing list User@lists.neo4j.org

Re: [Neo4j] Neo4j REST server in readonly mode

2011-01-19 Thread Jim Webber
Hi Hemant, Bringing up the REST API in readonly mode is not possible I'm afraid. We could consider adding it to the Neo4j server, depending on the effort required and whether there are other workarounds. Jim ___ Neo4j mailing list

Re: [Neo4j] Traversal Question

2011-01-25 Thread Jim Webber
Hi John, The graph algorithms package has a some useful features for path finding (e.g. shortest path). Do any of the approaches in http://components.neo4j.org/graph-algo/ seem useful to you? Or do you think that a custom traverser is necessary instead? Jim

Re: [Neo4j] Neo4j 1.2 server on Linux X86 - 64 bit

2011-02-01 Thread Jim Webber
FWIW this is quite a RESTful notion: Now you also know how to speed up your app, whenever the existing REST API is too chatty for a usecase. Just write a plugin that gets the data (nodes, relationships) that you want to get in one request (e.g. via a traversal) and return them. That is,

Re: [Neo4j] Non-exact index queries with the REST API

2011-02-02 Thread Jim Webber
Hi Max, I don't think there is a way to search for non-exact queries in the REST API today. I'll add it to the feature backlog for future releases. Jim ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Choosing HTTP method for server plugins (REST API)

2011-02-04 Thread Jim Webber
On that note, I don't believe that the REST API has to be equivalent to any future binary API. The REST API isn't a transport layer, it's at the application layer (as is the Web) and so it has very specific application semantics (e.g. hypermedia). Other remoting approaches might not share those

Re: [Neo4j] Synchronisation between server and clients in Neo4j

2011-02-04 Thread Jim Webber
Hi Brendan, For datasets larger than memory, I like the approach we're calling (cheekily) Cache Sharding which I'm about to post a blog about. Essentially it's a strategy where all data is replicated across instances, but where caches are kept warm by tuning access to those instances to

Re: [Neo4j] Solve a problem using neo4j

2011-02-08 Thread Jim Webber
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

Re: [Neo4j] Solve a problem using neo4j

2011-02-08 Thread Jim Webber
Hi John, There's nothing authoritative that I can find right now, but I'm going to be blogging about this in the weeks to come, starting with HA and sharding. Jim ___ Neo4j mailing list User@lists.neo4j.org

Re: [Neo4j] neo4j / RoR consulting opportunity

2011-02-09 Thread Jim Webber
Apologies to the list, I should have replied all. Jim On 9 Feb 2011, at 11:04, Jim Webber wrote: Hi Rocky, Have you considered talking to ThoughtWorks? Those guys are super RoR and NoSQL delivery folks and they have a good relationship with us here at Neo. If you like, I can put you

Re: [Neo4j] Questions

2011-02-09 Thread Jim Webber
Hi Saikat, 1) Are there plans to build a compact version of neo4j for native mobile apps The embedded jar for Neo4j is ~500kB in size, so quite embeddable. 2) Is there an example of sharding and the lessons learned and issues that may come up when going through this. Didn't see anything on

Re: [Neo4j] Conceptual Problem(s)

2011-02-15 Thread Jim Webber
Hi Tom, In terms of conceptual model, I prefer to loosely type my nodes by the properties they contain. So Pam Ward is a person by dint of the firstname and lastname properties on that node. For tags, I would probably just have several tagged relationship from Conservation of Historic

[Neo4j] Sharding graphs blog post

2011-02-16 Thread Jim Webber
Hi guys, Peter reminded me that I should post links to the list when I blog about Neo4j stuff. Here's my first in a (hopefully) frequent bunch of posts on solutions architecture and Neo4j, focussing on sharding issues: http://jim.webber.name/2011/02/16/3b8f4b3d-c884-4fba-ae6b-7b75a191fa22.aspx

Re: [Neo4j] Sharding graphs blog post

2011-02-16 Thread Jim Webber
to this (distributed graphs, though at a domain level). Gotta get you to stop in to Philadelphia sometime when you're globetrotting to and from the west coast! -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Jim Webber Sent: Wednesday

Re: [Neo4j] Webadmin bug?

2011-02-18 Thread Jim Webber
Hi Alfredas, Thanks for the bug report, it's now in a batch of Webadmin usability and bug fixes which will go into the 1.3 release. Jim On 18 Feb 2011, at 11:36, Alfredas Chmieliauskas wrote: Hi, a small issue with the neo4j webadmin (1.3.M02). In the data tab if you want to create a

Re: [Neo4j] Social Networks And Graph Databases

2011-02-20 Thread Jim Webber
Hi JT, The default way of scaling Neo4j is to use the an HA cluster and route requests (via some domain-specific strategy) to specific instances to ensure that caches stay warm (that is cache sharding). So scaling for Neo4j is a function of having enough RAM to comfortably hold the working

Re: [Neo4j] Social Networks And Graph Databases

2011-02-20 Thread Jim Webber
Hello JT, One thing, when you say route requests to specific instances .. does that imply that node relationships can't span instances ? Yes that's right. What I'm suggesting here is that each instance is a full replica that works on a subset of requests which are likely to keep the caches

Re: [Neo4j] Exception creating EmbeddedGraphDatabase from a Servlet

2011-02-21 Thread Jim Webber
Hi Pablo, This caught my eye in your stacktrace: Unable to create directory path[] for Neo4j Can you confirm that you have provided the right path for your database into your Jetty app? Jim ___ Neo4j mailing list User@lists.neo4j.org

[Neo4j] Cache sharding blog post

2011-02-23 Thread Jim Webber
Hi folks, I've written up my thoughts on the cache sharding pattern on my blog. See: http://jim.webber.name/2011/02/23/abe72f61-27fb-4c1b-8ce1-d0db7583497b.aspx Jim ___ Neo4j mailing list User@lists.neo4j.org

Re: [Neo4j] Cache sharding blog post

2011-02-24 Thread Jim Webber
Hey Mark, That's a really fantastic and useful design metric. Can paraphrase it a bit and write it up on the Neo4j blog/my blog? I'll credit my source, naturally :-) Jim On 24 Feb 2011, at 14:08, Mark Harwood wrote: But in answering this, I wonder if there are actually two use cases here

Re: [Neo4j] Fwd: Newbie - Starter Questions

2011-03-08 Thread Jim Webber
Hi Neal, [assuming you're playing with the 1.3M03 onwards here] 1) So now, I have one database that I might want to continue to play with. How do I create the second database which might be my real app? I'd like to keep the one to play with, maybe load the Matrix who knows who example on

Re: [Neo4j] Different build errors

2011-03-08 Thread Jim Webber
Hey Nolan, I can confirm similar behaviour using Ant + Ivy. Super frustrating. Jim On 8 Mar 2011, at 16:03, Nolan Darilek wrote: On 03/08/2011 09:40 AM, Andreas Kollegger wrote: Sorry about that. The graphdb components needs to be built without any external repository dependencies.

Re: [Neo4j] Neo4J Plugin

2011-03-09 Thread Jim Webber
The downside is that is rest-api specific. While the ServerPlugin Representation will work across any transport which we add to the server (currently only REST, but other wire protocols would be possible). I'm not convinced of the validity or usefulness of this notion. A RESTful approach

Re: [Neo4j] Unmanaged Extensions

2011-03-10 Thread Jim Webber
Hi Francois, Can you send your neo4j-server.properties file? It needs to have something like this, with your JAX-RS package and your path included: org.neo4j.server.thirdparty_jaxrs_classes=org.neo4j.examples.server.unmanaged=/examples/unmanaged Jim

Re: [Neo4j] java application server or neo4j server?

2011-03-10 Thread Jim Webber
Hi Matěj, Neo4j has traditionally been an embedded database, so if you just want to host it in an existing application (e.g. in a Web app you already run on an app server) then that's probably a good choice. If you need to host the database elsewhere on the network (or you're not running on

Re: [Neo4j] Unmanaged Extensions

2011-03-10 Thread Jim Webber
Hi Francois, Try: org.neo4j.server.thirdparty_jaxrs_classes=org.mediasharks.unmanaged=/custom And make sure your classes are on the classpath (perhaps in the plugins directory). Jim ___ Neo4j mailing list User@lists.neo4j.org

Re: [Neo4j] java application server or neo4j server?

2011-03-10 Thread Jim Webber
funcionality of neo4j server's REST API. Dne 10.3.2011 13:38, Jim Webber napsal(a): Hi Matěj, Neo4j has traditionally been an embedded database, so if you just want to host it in an existing application (e.g. in a Web app you already run on an app server) then that's probably a good choice

Re: [Neo4j] Issue with lucene index

2011-03-13 Thread Jim Webber
Hi Rick, That prompts two more questions: Any chance of backporting this to Neo4J 1.2? If not, any rough estimate of the 1.3 release timetable? Full releases are every quarter, M05 is due next week, and the following release will be 1.3 GA. So you're looking at about 3 weeks. Jim

Re: [Neo4j] Building Neoclipse with existing code

2011-03-15 Thread Jim Webber
Hi Bhargav, Using the pre-packaged neoclipse (on a mac) works right out of the box for me. You just point the tool at your store file to start the visualisation - it doesn't meddle with your existing eclipse installation. Jim ___ Neo4j mailing list

Re: [Neo4j] authentication on neo4j standalone server

2011-03-16 Thread Jim Webber
Hi Rick, You'd not advocate OAuth? Jim ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] authentication on neo4j standalone server

2011-03-16 Thread Jim Webber
Hey Rick, I think what I was primarily advocating was implementing an authorization plugin without implementing an authentication mechanism. Yeah, me too. I hadn't thought about authentication when I mentioned OAuth. Although I've never worked with it, my read on it is that an OAuth

[Neo4j] New Blog post: Strategies for Scaling Neo4j

2011-03-21 Thread Jim Webber
With especial thanks to Mark Harwood and Alex Averbuch, I wrote this on approaches for scaling: http://jim.webber.name/2011/03/22/ef4748c3-6459-40b6-bcfa-818960150e0f.aspx Your thoughts would be most welcome. Jim ___ Neo4j mailing list

Re: [Neo4j] New Blog post: Strategies for Scaling Neo4j

2011-03-21 Thread Jim Webber
, -EE On Mon, Mar 21, 2011 at 17:47, Jim Webber j...@neotechnology.com wrote: With especial thanks to Mark Harwood and Alex Averbuch, I wrote this on approaches for scaling: http://jim.webber.name/2011/03/22/ef4748c3-6459-40b6-bcfa-818960150e0f.aspx Your thoughts would be most welcome

Re: [Neo4j] New Blog post: Strategies for Scaling Neo4j

2011-03-23 Thread Jim Webber
On Tue, Mar 22, 2011 at 22:20, Guru GV guru...@gmail.com wrote: From Neo4j perspective - would there be strategies that would scale well for writes? Just curious. On Tue, Mar 22, 2011 at 6:37 AM, Jim Webber j...@neotechnology.com wrote: Duly updated, thanks for the feedback. Jim

Re: [Neo4j] Neo4J High Availability : embedded or server mode ?

2011-03-24 Thread Jim Webber
Hi Kiiv, Both the embedded database *and* the server database can run in HA mode. We tend to think of the server as simply a wrapper around the database that provides a RESTful API to augment the local API. So go right ahead and pick the configuration that's right for you, and you'll be able

Re: [Neo4j] Neo4J High Availability : embedded or server mode ?

2011-03-25 Thread Jim Webber
to another question - is the Embedded version of Neo4j concurrent for multiple threads ? Meaning can it have multiple simultaneous connections/transactions ongoing ? Thanks Guru On Thu, Mar 24, 2011 at 4:27 PM, Jim Webber j...@neotechnology.com wrote: Hi Kiiv, Both the embedded database

Re: [Neo4j] Neo4J High Availability : embedded or server mode ?

2011-03-25 Thread Jim Webber
Also, that brings me to another question - is the Embedded version of Neo4j concurrent for multiple threads ? Meaning can it have multiple simultaneous connections/transactions ongoing ? The embedded version of neo4j typically works *better* when there are multiple threads interacting with

Re: [Neo4j] Help for neo4j

2011-04-01 Thread Jim Webber
Hi Dong, 1. In neo4j's api,every method is thread-safe. I want to ask if every request for read or write to neo4j be queued,one by one processing. You can use Neo4j from multiple threads. [I can't answer question 2, but one of my colleagues will be able to] 3. how to use

Re: [Neo4j] neo4j RESTful endpoint load testing

2011-04-04 Thread Jim Webber
Hi Bobby, As of now, we don't really have a good performance test suite for the REST server. That's something we'll be addressing in our build pipeline (right now only the DB and core APIs are perf tested daily), it won't happen until the 1.4 timeframe. Jim

Re: [Neo4j] neo4j RESTful endpoint load testing

2011-04-04 Thread Jim Webber
Hi Bobby, We don't know yet. I've used JMeter before and always found that I never quite trusted it. At a former telecoms client (from our old lives) where my team built a very large transaction processing system, we started with JMeter and then quickly rolled our own because we lost faith

Re: [Neo4j] EmbeddedReadOnlyGraphDatabase workings

2011-04-05 Thread Jim Webber
Hi Alfredas, One sensible thing you could do in this situation is run in HA mode. That way you route requests to one node, and route reads to the other. If you route writes to the master, the read slave is eventually consistent. If you route writes to the slave, it is immediately consistent.

Re: [Neo4j] InvalidRecordException

2011-04-05 Thread Jim Webber
Hi Francesco, Is there a compelling reason why you need to be on Neo 1.1? We're in the process of releasing 1.3 which has substantial advantages over 1.1 (larger databases, performance improvements, bug fixes). Could you run a quick experiment on one of the 1.3 milestone builds and perhaps

[Neo4j] Loading quirky data into the graph

2011-04-06 Thread Jim Webber
Hi fellow graph-heads, I'm writing a Neo4j tutorial with Ian Robinson, and although Neo4j is a joy to use (naturally!), we're coming up against all kinds of annoyances when loading data into the graph. Our data set (based on the Doctor Who universe) contains overlapping entries, disjoint

Re: [Neo4j] newbie: graph visualization

2011-04-08 Thread Jim Webber
Hi Nacho, I use Neoclipse on OSX 10.6 all the time, works fine. Jim On 8 Apr 2011, at 15:40, Michael Hunger wrote: Neoclipse is a standalone application. The name is only a reminder that it is build with eclipse RCP technologies. Have fun Michael Am 08.04.2011 um 16:25 schrieb

[Neo4j] Neo4j 1.3 GA Released!

2011-04-13 Thread Jim Webber
Hello fellow graphistas! It's been 3 whole months and 5 tantalizing milestones since our last major release, and now we're proud to announce that Neo4j 1.3 has been released for general availability (GA). While there are a whole bunch of new features and improvements included in the new

Re: [Neo4j] [neo4j] Exposing Webadmin

2011-04-14 Thread Jim Webber
Hi guys, Jim, what is your RESTy expertise on this? Our JAX-RS plumbing will dispatch on very specific parts of the URI (that's just the way JAX-RS works). So if ultimately you send the server something that doesn't match, it's either going to cause a 404 or similar, or where we think it's

Re: [Neo4j] Question about REST interface concurrency

2011-04-15 Thread Jim Webber
Hi Stephen, The same Jetty tweaks that worked in previous versions will work with 1.3. We haven't changed any of the Jetty stuff under the covers. Jim ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Seattle neo4j meetup proposed

2011-04-16 Thread Jim Webber
Hi Saikat, Savas Parastatidis and Bradford Stephens had a bit of a twitter exchange about this. And Emil visits Seattle reasonably often too. Seems there's at least the four of you that could get some graph-beers on. Jim ___ Neo4j mailing list

Re: [Neo4j] Multitenancy in neo4j

2011-04-18 Thread Jim Webber
Hello, Multi-tenant in a graph can be easy: simply use a different sub-graph for each tenant and let your application code bind to you a specific subgraph. If you want to go to the next step and have physically separate databases, that's harder. Are there reasons for wanting to do this, such

Re: [Neo4j] [neo4j] Exposing Webadmin

2011-04-18 Thread Jim Webber
Hey Jake, [with my RESTafarian hat on] Will make the server move management stuff to that URI, and webadmin will follow suit. So for your case, you should be able to do: org.neo4j.server.webadmin.data.uri=/neo4jdb/db/data/ org.neo4j.server.webadmin.management.uri=/neo4jdb/db/manage/ I

Re: [Neo4j] Wiki documentation neo4j+restfulie.

2011-04-19 Thread Jim Webber
Hi José, Please feel free to add to the wiki. We've had a problem with spammers recently, so if you run into permissions problems please shout. Jim On 22 Mar 2011, at 20:19, jdbjun...@gmail.com wrote: Hi, going through the neo4j documentation I found some examples of how access neo4j api

Re: [Neo4j] REST results pagination

2011-04-19 Thread Jim Webber
Hi Javier, I've just checked and that's in our list of stuff we really should do because it annoys us that it's not there. No promises, but we do intend to work through at least some of that list for the 1.4 releases. Jim ___ Neo4j mailing list

Re: [Neo4j] REST results pagination

2011-04-19 Thread Jim Webber
I'd like to propose that we put this functionality into the plugin (https://github.com/skanjila/gremlin-translation-plugin) that Peter and I are currently working on, thoughts? I'm thinking that, if we do it, it should be handled through content negotiation. That is if you ask for

Re: [Neo4j] Cannot launch neo4j on Mac OS 10.6.7

2011-04-20 Thread Jim Webber
Hi Kevin, The install location shouldn't make any difference. Can I ask when you downloaded the package? We had a snaffu with our packaging mechanism just after we released. That was picked up and fixed, but there's a chance you might have a copy of the dodgy package. Jim

Re: [Neo4j] Error building Neo4j

2011-04-21 Thread Jim Webber
Hi Kevin, I can replicate your problem. The way I worked around this was to use Maven 2.2.1 rather than Maven 3.0.x. Then I get a green build for community edition. I'll poke the devteam and see what Maven versions they're running on. Jim ___ Neo4j

Re: [Neo4j] REST results pagination

2011-04-21 Thread Jim Webber
This is indeed a good dialogue. The pagination versus streaming was something I'd previously had in my mind as orthogonal issues, but I like the direction this is going. Let's break it down to fundamentals: As a remote client, I want to be just as rich and performant as a local client.

  1   2   3   >