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

2010-11-02 Thread Kiss Miklós
I'm still in designing phase of my system so I have no specific situations yet. I think that transactions would be required for me to do the following as 1 atomic operation: - create a (few) new nodes - link the nodes into the graph - add indices - change some other node properties If at any poi

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

2010-11-02 Thread Jim Webber
Hey MikKi, Could you elaborate a bit more on your use case? If you want transaction control then perhaps it's widespread enough that other folks would want it too. Jim On 2 Nov 2010, at 09:16, Kiss Miklós wrote: > Hi Jim, > > Yes, I mean controlling transaction lifecycle. Support for bulk >

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

2010-11-02 Thread Kiss Miklós
Hi Jim, Yes, I mean controlling transaction lifecycle. Support for bulk 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 y

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 exposin

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

2010-10-29 Thread Kiss Miklós
PM > To: Neo user discussions > Subject: Re: [Neo] Transactions in Neo4j REST Server > > Hi buddies! > > My vote is for adding support for posting a batch of operations to be > executed within the context of one transaction. What we need to figure out > is how these should be expr

Re: [Neo] Transactions in Neo4j REST Server

2010-05-21 Thread Mattias Persson
ser-boun...@lists.neo4j.org] >> On >> Behalf Of Tobias Ivarsson >> Sent: Thursday, May 20, 2010 2:55 PM >> To: Neo user discussions >> Subject: Re: [Neo] Transactions in Neo4j REST Server >> >> Hi buddies! >> >> My vote is for adding support for pos

Re: [Neo] Transactions in Neo4j REST Server

2010-05-20 Thread Tobias Ivarsson
Sent: Thursday, May 20, 2010 2:55 PM > To: Neo user discussions > Subject: Re: [Neo] Transactions in Neo4j REST Server > > Hi buddies! > > My vote is for adding support for posting a batch of operations to be > executed within the context of one transaction. What we need to fi

Re: [Neo] Transactions in Neo4j REST Server

2010-05-20 Thread Rick Bullotta
Sounds a lot like "code" ;-) Rick -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Tobias Ivarsson Sent: Thursday, May 20, 2010 2:55 PM To: Neo user discussions Subject: Re: [Neo] Transactions in Neo4j REST Server Hi bu

Re: [Neo] Transactions in Neo4j REST Server

2010-05-20 Thread Tobias Ivarsson
Hi buddies! My vote is for adding support for posting a batch of operations to be executed within the context of one transaction. What we need to figure out is how these should be expressed. Starting from a list of requirements is usually a good idea. The features I can think of that the batch ope

Re: [Neo] Transactions in Neo4j REST Server

2010-05-20 Thread Kevin Raison
I am in a situation where being able to bulk upload an ntriples-like file or perhaps a large JSON data blob via the REST interface as a single transaction would be incredibly helpful. Consider this a feature request. Thanks for your work on this! Cheers. Kevin On 5/20/10 6:14 AM, Jim Webber

Re: [Neo] Transactions in Neo4j REST Server

2010-05-20 Thread Rick Bullotta
.@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Jim Webber Sent: Thursday, May 20, 2010 9:14 AM To: Neo user discussions Subject: Re: [Neo] Transactions in Neo4j REST Server Hi fellow graph-tastic people, Allowing a transaction to span multiple requests was ruled out in the

Re: [Neo] Transactions in Neo4j REST Server

2010-05-20 Thread Javier de la Rosa
Thank you all, your ideas are great. I guess to introduce some kind of pagination only make harder the work :-) but it continues being interesting. Best regards. -- Javier de la Rosa ___ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mai

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 expo

Re: [Neo] Transactions in Neo4j REST Server

2010-05-20 Thread rick . bullotta
nsaction identifier a part of the URL or delivered as a header. I also like his approach of using well-known HTTP result codes to manage the transaction lifecycle. Rick Original Message -------- Subject: Re: [Neo] Transactions in Neo4j REST Server From: Anders

Re: [Neo] Transactions in Neo4j REST Server

2010-05-20 Thread Anders Nawroth
Hi! The guys who wrote the REST component are offline at the moment, so I'll just chime in here for now. You are right that the current REST API won't allow you to control transactions: it wraps each request in a transaction. There's basically two strategies, either you keep a transaction open

[Neo] Transactions in Neo4j REST Server

2010-05-19 Thread Javier de la Rosa
Hi all, I think there's no way to perform a transaction through Neo4j REST Server. It would be great if we could emulate this behaviour using the header Keep-Alive, some session variable or some persistence issue. A good option can be the next (I'm guessing Neo4j isn't able to manage several trans