Thomas, a websocket interface would be a great addition! We haven't come around to do a proper binary protocol to Neo4j yet (pushed to Neo4j 1.6), but as Rick mentions, a websocket interface would also mean to have streaming semantics on the client.
If you wanna prototype one with some trivial serialization that can be changed later, that would rock! Cheers, /peter neubauer 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://startupbootcamp.org/ - Ă–resund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Mon, Aug 29, 2011 at 12:01 PM, Thomas Fritz <[email protected]> wrote: > Hi! > > I hope you had some good bear friday! ;) > > Do you think a (web)socket interface to neo4j could be done and > integrated into the core? I do not like the idea of using a high > performance graph database with fast indices (like neo4j is) and than > the only interface to it is a HTTP RESTful API to it. Or are my > assumptions and fears wrong? > > kind regards > > > > --- > Thomas FRITZ > web http://fritzthomas.com > twitter http://twitter.com/thomasf > > > > 2011/8/26 Rick Bullotta <[email protected]>: > > We're doing some similar things using XMPP pub-sub and BOSH... > > > > -----Original Message----- > > From: [email protected] [mailto:[email protected]] > On Behalf Of Thomas Fritz > > Sent: Friday, August 26, 2011 10:49 AM > > To: Neo4j user discussions > > Subject: Re: [Neo4j] Websocket Server instead of REST for Neo4J for > access a DB > > > > If you like partial results take a look at this paper: > > http://research.microsoft.com/apps/pubs/default.aspx?id=131524 and > > this cast: http://channel9.msdn.com/Events/MIX/MIX11/RES04 > > > > It uses rabin fingerprinting to detect changed chunks and only > > transfers these changed chunks (like rsync does). In this case the > > connecting side - the client - would also need some logic baked in > > because the client, after connecting to the server, has to sent the > > hashes of already retrieved chunks. So the server side can compute and > > sent just those chunks which has updated. Maybe it makes sense for > > some really big datasets. > > > > Kind regards and cheers from Vienna > > > > > > > > > > --- > > Thomas FRITZ > > web http://fritzthomas.com > > twitter http://twitter.com/thomasf > > > > > > > > 2011/8/26 Peter Neubauer <[email protected]>: > >> I like that! > >> > >> Now some beer. Free. Friday. > >> > >> Cheers, > >> > >> /peter neubauer > >> > >> 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://startupbootcamp.org/ - Ă–resund - Innovation happens HERE. > >> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. > >> > >> > >> On Fri, Aug 26, 2011 at 4:22 PM, Rick Bullotta > >> <[email protected]>wrote: > >> > >>> Let's hope that one day soon all of these issues will be "non-issues"! > >>> > >>> Having cool technology always "coming soon" reminds me of this sign: > >>> http://www.rareirishstuff.com/media/13/a20792b12af7736b49978d_m.JPG > >>> > >>> -----Original Message----- > >>> From: [email protected] [mailto: > [email protected]] > >>> On Behalf Of Thomas Fritz > >>> Sent: Friday, August 26, 2011 10:17 AM > >>> To: Neo4j user discussions > >>> Subject: Re: [Neo4j] Websocket Server instead of REST for Neo4J for > access > >>> a DB > >>> > >>> Hi. > >>> > >>> Thanks for your fast reply. > >>> > >>> > >>> > >>> > >>> > >>> 2011/8/26 Rick Bullotta <[email protected]>: > >>> > A few potential challenges and reasons to wait on this: > >>> > > >>> > - the Websocket API is still in a state of change > >>> thats true. But i think, since the latest security issues are solved > >>> now with the latest protocol version, hopefully there are no breaking > >>> changes anymore > >>> > >>> > - the existing REST API is synchronous request/response, so there's > not a > >>> lot of benefit to switching to websockets without a lot of rework > >>> I think thats a real challenge. Since locking and concurrent writes > >>> come into play - Except you would allow only one websocket connection > >>> > >>> > - The real benefit will be when you Javascript and other web clients > can > >>> use a pure binary protocol (not possible today) > >>> I pretty sure it is in the latest protocol definition. But i think no > >>> Browser at this time of writing has implemented the binary parts. > >>> > >>> regards > >>> > >>> Tom > >>> > >>> > > >>> > Rick > >>> > > >>> > -----Original Message----- > >>> > From: [email protected] [mailto: > [email protected]] > >>> On Behalf Of Thomas Fritz > >>> > Sent: Friday, August 26, 2011 9:52 AM > >>> > To: Neo4j user discussions > >>> > Subject: [Neo4j] Websocket Server instead of REST for Neo4J for > access a > >>> DB > >>> > > >>> > Hi all! > >>> > > >>> > Have anyone thought, or is it possible to implement a Websocket > >>> > Endpoint in Neo4J Server so one can use this instead of the RESTful > >>> > API. Which would be more performant and scalable than the RESTful > HTTP > >>> > API. It is possible to use such a Websocket through Java, Node and > any > >>> > other Server Side Language and even JavaScript on the client side. > >>> > > >>> > What do you think? > >>> > > >>> > Kind regards > >>> > > >>> > > >>> > > >>> > --- > >>> > Thomas FRITZ > >>> > web http://fritzthomas.com > >>> > twitter http://twitter.com/thomasf > >>> > _______________________________________________ > >>> > Neo4j mailing list > >>> > [email protected] > >>> > https://lists.neo4j.org/mailman/listinfo/user > >>> > _______________________________________________ > >>> > Neo4j mailing list > >>> > [email protected] > >>> > https://lists.neo4j.org/mailman/listinfo/user > >>> > > >>> _______________________________________________ > >>> Neo4j mailing list > >>> [email protected] > >>> https://lists.neo4j.org/mailman/listinfo/user > >>> _______________________________________________ > >>> Neo4j mailing list > >>> [email protected] > >>> https://lists.neo4j.org/mailman/listinfo/user > >>> > >> _______________________________________________ > >> Neo4j mailing list > >> [email protected] > >> https://lists.neo4j.org/mailman/listinfo/user > >> > > _______________________________________________ > > Neo4j mailing list > > [email protected] > > https://lists.neo4j.org/mailman/listinfo/user > > _______________________________________________ > > Neo4j mailing list > > [email protected] > > https://lists.neo4j.org/mailman/listinfo/user > > > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

