Re: [dnsext] RETRY and EXPIRE clarification

Chris Thompson <cet1@cam.ac.uk> Wed, 05 October 2011 13:47 UTC

Return-Path: <cet1@hermes.cam.ac.uk>
X-Original-To: dnsext@ietfa.amsl.com
Delivered-To: dnsext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AFE9C21F8B17 for <dnsext@ietfa.amsl.com>; Wed, 5 Oct 2011 06:47:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.367
X-Spam-Level:
X-Spam-Status: No, score=-6.367 tagged_above=-999 required=5 tests=[AWL=0.232, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jxCechzGkGzE for <dnsext@ietfa.amsl.com>; Wed, 5 Oct 2011 06:47:01 -0700 (PDT)
Received: from ppsw-52.csi.cam.ac.uk (ppsw-52.csi.cam.ac.uk [131.111.8.152]) by ietfa.amsl.com (Postfix) with ESMTP id 2179321F8AFD for <dnsext@ietf.org>; Wed, 5 Oct 2011 06:47:00 -0700 (PDT)
X-Cam-AntiVirus: no malware found
X-Cam-SpamDetails: not scanned
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from hermes-2.csi.cam.ac.uk ([131.111.8.54]:43855) by ppsw-52.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.159]:25) with esmtpa (EXTERNAL:cet1) id 1RBRrK-0004oV-FA (Exim 4.72) (return-path <cet1@hermes.cam.ac.uk>); Wed, 05 Oct 2011 14:50:06 +0100
Received: from prayer by hermes-2.csi.cam.ac.uk (hermes.cam.ac.uk) with local (PRAYER:cet1) id 1RBRrK-0000L4-MG (Exim 4.67) (return-path <cet1@hermes.cam.ac.uk>); Wed, 05 Oct 2011 14:50:06 +0100
Received: from [131.111.11.47] by webmail.hermes.cam.ac.uk with HTTP (Prayer-1.3.4); 05 Oct 2011 14:50:06 +0100
Date: Wed, 05 Oct 2011 14:50:06 +0100
From: Chris Thompson <cet1@cam.ac.uk>
To: Edward Lewis <Ed.Lewis@neustar.biz>
Message-ID: <Prayer.1.3.4.1110051450060.28254@hermes-2.csi.cam.ac.uk>
In-Reply-To: <a06240804cab200031f9c@[10.31.203.207]>
References: <4E8C12CC.3090701@nic.cz> <a06240804cab200031f9c@[10.31.203.207]>
X-Mailer: Prayer v1.3.4
Mime-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="ISO-8859-1"
Sender: Chris Thompson <cet1@hermes.cam.ac.uk>
Cc: dnsext@ietf.org
Subject: Re: [dnsext] RETRY and EXPIRE clarification
X-BeenThere: dnsext@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: cet1@cam.ac.uk
List-Id: DNS Extensions working group discussion list <dnsext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsext>, <mailto:dnsext-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dnsext>
List-Post: <mailto:dnsext@ietf.org>
List-Help: <mailto:dnsext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsext>, <mailto:dnsext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Oct 2011 13:47:01 -0000

On Oct 5 2011, Edward Lewis wrote:

>At 10:18 +0200 10/5/11, Lubos Slovak wrote:
[..anip..]
>>1) Should the RETRY interval start when the REFRESH event occurred (this
>>is a bit more deterministic) or when it is clear that the transfer failed,
>>i.e. on timeout or error during transfer (this is maybe closer to the
>>definition of RETRY in RFC 1035, part 3.3.13)?
>
>Doesn't really matter, I mean, how long does it take to fail a 
>transfer?  Let's say it's 90 seconds - if the retry is 43200 (12 
>hours), whether you try 1/2 a day later or 1/2 day plus 90 seconds 
>later isn't going to change things.  It looks cooler in the logs if 
>the retries happen at the stroke of 1/2 day intervals, but it doesn't 
>matter in the long run.

That is in any case the sort of thing that leads to different processes
getting into lock step and generating load spikes. It is better to
dither the intervals a bit, as NIND has done for, lo, these many years:

 432.   [func]          Added refresh/retry jitter.  The actual refresh/
                        retry time is now a random value between 75% and
                        100% of the configured value.

[That was already in BIND 9.1, at least.]

-- 
Chris Thompson               University of Cambridge Computing Service,
Email: cet1@ucs.cam.ac.uk    New Museums Site, Cambridge CB2 3QH,
Phone: +44 1223 334715       United Kingdom.