Re: ICAP connections under heavy loads

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Tue, 04 Sep 2012 08:01:23 -0600

On 09/01/2012 03:26 AM, Amos Jeffries wrote:
>> /// a helper job that connects to the ICAP service and
>> /// calls our "connector" callback; unused on pconns
>> Comm::ConnOpener *opener;
>>
>> It would be better to declare this just above the "connector"
>> declaration to keep opener and connector close to each other.
>
> Why do we need to have a pointer to the opener AsyncJob anyway?
> Cancel the Xaction callback instead is what I thought the correct action
> was supposed to be.

Alexander is trying to optimize the case where the requestor is gone and
no more connects (with all their retries) and notifications are needed.
Callback cancellation is sufficient for things to work correctly, but
Alexander wants them to work faster or more efficiently.

HTH,

Alex.
Received on Tue Sep 04 2012 - 14:01:33 MDT

This archive was generated by hypermail 2.2.0 : Tue Sep 04 2012 - 12:00:07 MDT