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
eval pipelining
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
  3 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
 
Raghava Mutharaju  
View profile  
 More options Feb 27 2012, 3:10 am
From: Raghava Mutharaju <m.vijayaragh...@gmail.com>
Date: Mon, 27 Feb 2012 03:10:24 -0500
Local: Mon, Feb 27 2012 3:10 am
Subject: eval pipelining

Hello all,

I was wondering if adding eval() to the list of commands that pipeline
supports, is a good idea? Also, I have couple of questions on how
pipelining in jedis works.

Does pipelining work the following way -- send commands one by one and
collect all the responses at once in the end. Where is the time save in
pipelining w.r.t unpipelined code? I took a look at the code and thought it
would work in the above way but couldn't figure out how the time save is
achieved.

Thanks in advance.

Regards,
Raghava.


 
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.
Jonathan Leibiusky  
View profile  
 More options Mar 9 2012, 6:04 am
From: Jonathan Leibiusky <ionat...@gmail.com>
Date: Fri, 9 Mar 2012 08:04:01 -0300
Local: Fri, Mar 9 2012 6:04 am
Subject: Re: eval pipelining

Hi Raghava,

As far as I know eval was added in @ivo_wiblo's fork, but it wasn't merged
yet as I am waiting for a pull request. If you are interested in providing
your version, please go ahead!

Regard how pipelining works... it is how you said. You send all the
commands and at the end read all the responses. The saving is in
roundtrips. By reading all responses at the end you avoid waiting for every
single response to arrive. So basically by using pipelining you are being
asynchronous and using the channel more efficiently.

Thanks!

Jonathan

On Mon, Feb 27, 2012 at 5:10 AM, Raghava Mutharaju <


 
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.
Raghava Mutharaju  
View profile  
 More options Mar 9 2012, 6:08 pm
From: Raghava Mutharaju <m.vijayaragh...@gmail.com>
Date: Fri, 9 Mar 2012 18:08:59 -0500
Local: Fri, Mar 9 2012 6:08 pm
Subject: Re: eval pipelining

Thanks Jonathan. Glad to see you back in the mailing list.

I am actually using @ivo_wiblo's eval code -- I did a merge locally on my
machine (along with couple of other patches actually). eval wasn't added to
the Pipeline.java, so I was wondering if its a good idea to do that. I can
work on this on my local copy.

Another question on pipelining -- if there are lot of commands to pipeline
(and hence lot of responses waiting to be read), since all of them had to
be read at the end, wouldn't it run out of buffer? How much is the buffer
size?

Regards,
Raghava.

On Fri, Mar 9, 2012 at 6:04 AM, Jonathan Leibiusky <ionat...@gmail.com>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.
End of messages
« Back to Discussions « Newer topic     Older topic »