Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Transactions using Rexster
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sudhakar G  
View profile  
 More options Sep 26 2012, 9:49 am
From: Sudhakar G <sudhakar.t...@gmail.com>
Date: Wed, 26 Sep 2012 06:49:02 -0700 (PDT)
Local: Wed, Sep 26 2012 9:49 am
Subject: Transactions using Rexster

Can anyone help me how to run transactions when using Rexster over Neo4J..


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephen Mallette  
View profile  
 More options Sep 26 2012, 10:07 am
From: Stephen Mallette <spmalle...@gmail.com>
Date: Wed, 26 Sep 2012 10:07:07 -0400
Local: Wed, Sep 26 2012 10:07 am
Subject: Re: [Neo4j] Transactions using Rexster
Rexster does not have the notion of RESTful transactions.  Aside from
using the Batch Kibble extension:

https://github.com/tinkerpop/rexster/tree/master/rexster-kibbles/batc...

Your only other option is to send transaction enable gremlin scripts
to the Gremlin Extension:

https://github.com/tinkerpop/rexster/wiki/Gremlin-Extension

Best regards,

Stephen


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sudhakar G  
View profile  
 More options Sep 26 2012, 10:15 am
From: Sudhakar G <sudhakar.t...@gmail.com>
Date: Wed, 26 Sep 2012 07:15:09 -0700 (PDT)
Local: Wed, Sep 26 2012 10:15 am
Subject: Re: Transactions using Rexster

Thanks Stephen for the information....

When using batch kibble, how can I type cast rexsterGraph to blueprints
TransactionGraph.
I guess TransactionGraph is the only way in which I can call
startTransaction and stopTransaction.

Is there any way in which I can mark the transaction boundaries while using
Rexster.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephen Mallette  
View profile  
 More options Sep 26 2012, 11:25 am
From: Stephen Mallette <spmalle...@gmail.com>
Date: Wed, 26 Sep 2012 11:25:49 -0400
Local: Wed, Sep 26 2012 11:25 am
Subject: Re: [Neo4j] Re: Transactions using Rexster
I didn't realize that you were trying to use RexsterGraph.
RexsterGraph is not transactional at this time as it only uses the
standard REST API (which I mentioned earlier does not have
transactional capabilities).  As it works with the standard API, it
does not operate with Batch Kibble (a rexster extension).  The two
pieces must be utilized independently of each other.

Stephen


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Thornton  
View profile  
 More options Sep 26 2012, 1:30 pm
From: James Thornton <james.thorn...@gmail.com>
Date: Wed, 26 Sep 2012 10:30:11 -0700 (PDT)
Local: Wed, Sep 26 2012 1:30 pm
Subject: Re: Transactions using Rexster

On Wednesday, September 26, 2012 8:49:02 AM UTC-5, Sudhakar G wrote:

> Can anyone help me how to run transactions when using Rexster over Neo4J..

Bulbs uses Gremlin scripts for transactions.

See https://github.com/espeed/bulbs/blob/master/bulbs/rexster/gremlin.groovy

Example:

>>> from bulbs.rexster import Graph>>> g = Graph()>>> script = g.scripts.get('create_blog_entry')>>> params = dict(text='hello world', user_id=3)>>> result = g.gremlin.command(script, params)

Docs http://bulbflow.com/docs/api/bulbs/rexster/gremlin/

- James


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sudhakar G  
View profile  
 More options Oct 26 2012, 10:16 am
From: Sudhakar G <sudhakar.t...@gmail.com>
Date: Fri, 26 Oct 2012 07:16:02 -0700 (PDT)
Local: Fri, Oct 26 2012 10:16 am
Subject: Re: [Neo4j] Re: Transactions using Rexster

Hi Stephen,

Is there any way in which I can batch the update calls being made to
rexster.
The problem is that the every property set on a node is being made in
seperate transaction which is affecting the performance of our system.

We need a solution for this very badly.

On Wednesday, September 26, 2012 8:55:51 PM UTC+5:30, Stephen Mallette
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephen Mallette  
View profile  
 More options Oct 26 2012, 10:36 am
From: Stephen Mallette <spmalle...@gmail.com>
Date: Fri, 26 Oct 2012 10:36:08 -0400
Local: Fri, Oct 26 2012 10:36 am
Subject: Re: [Neo4j] Re: Transactions using Rexster
If you are restricted to only using RexsterGraph, then I'm afraid
there aren't other options available within it. As workarounds, I
could only suggest that perhaps in cases where you have the most
significant performance problems you bypass RexsterGraph and make your
transaction-based calls to the Batch Kibble.

https://github.com/tinkerpop/rexster/tree/master/rexster-kibbles/batc...

or perhaps just send some transactional Gremlin to the Gremlin
Extension.  TinkerPop has had some internal discussions on improving
RexsterGraph operations/performance, but no real plans have been
established yet to implement anything specific.  If you have some
ideas for how you would like to see RexsterGraph working please feel
free to add comments/thoughts to this issue in Blueprints:

https://github.com/tinkerpop/blueprints/issues/256

Best regards,

Stephen


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »