does TAKETHIS wait for a response?

Anne Wilson anne at unidata.ucar.edu
Wed Sep 29 23:16:42 UTC 2004


Thanks, Russ!

I still, however, need to know for sure how responses to TAKETHIS are 
handled.  How often are responses sent for TAKETHIS?  Does innfeed wait 
for them?   It probably doesn't wait, but in that case how are they 
handled?  Maybe responses are only sent infrequently, or maybe responses 
are handled in a batch manner.

I may wind up instrumenting the code a bit to figure this out.  But, 
that'll have to wait until next week as I'm taking a short vacation.

Later!

Anne


Russ Allbery wrote:
> Anne Wilson <anne at unidata.ucar.edu> writes:
>
> 
> No, it can go ahead and send CHECKs right after TAKETHIS; there's no need
> for it to wait.  I'm not sure if it *does* wait or not; I think it may
> depend on the circumstances and how much it has queued up to go.
> 
> 
>>From what I see (specifically looking at "prepareRead") it looks like it
>>only reads a response if there's one on the socket.  Is that correct?
> 
> 
> That sounds right.
> 
> 
>>If it doesn't wait for a response, then does it assume articles are
>>being accepted for the purpose of determining what mode to be in?
> 
> 
> When the responses come in, they're analyzed and the current acceptance
> ratio is updated.  When the articles are queued to be sent, the current
> acceptance ratio is used to determine what mode to be in.  So in practice,
> the behavior will lag a little bit behind the current acceptance ratio.
> 

-- 
***************************************************
Anne Wilson			UCAR Unidata Program		
anne at unidata.ucar.edu		       P.O. Box 3000
               			  Boulder, CO  80307
----------------------------------------------------
Unidata WWW server       http://my.unidata.ucar.edu/
****************************************************



More information about the inn-workers mailing list