Re: [Dime] [dime] #46: Bad normative advice on not letting overload reports expire

Jouni Korhonen <jouni.nospam@gmail.com> Wed, 26 March 2014 08:47 UTC

Return-Path: <jouni.nospam@gmail.com>
X-Original-To: dime@ietfa.amsl.com
Delivered-To: dime@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2A5DF1A007A for <dime@ietfa.amsl.com>; Wed, 26 Mar 2014 01:47:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eCJdLGhC__3P for <dime@ietfa.amsl.com>; Wed, 26 Mar 2014 01:47:07 -0700 (PDT)
Received: from mail-lb0-x229.google.com (mail-lb0-x229.google.com [IPv6:2a00:1450:4010:c04::229]) by ietfa.amsl.com (Postfix) with ESMTP id 362851A010C for <dime@ietf.org>; Wed, 26 Mar 2014 01:47:07 -0700 (PDT)
Received: by mail-lb0-f169.google.com with SMTP id q8so1236103lbi.14 for <dime@ietf.org>; Wed, 26 Mar 2014 01:47:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=z0Uz+YYtmUBATpwsg2ctI9xajtRmcbxhXuAf7dalGeQ=; b=laiknEQtF8YWe7YNe265myhiSFxM6OoAedaw48g5yBwP58ychC+u1MbvHFOLVeronu QciiTNOkwyzc2NiEheAOs8/gKawmcNcm/IWkxVw1p+K6zfL/juuSk5Li2FAIRD/gHJZd oivLmUVlCwqKnWiu+i9ME5gqzj/qSHjOWunk87+34BH3ltobvtfO/eWLPBBrrr6bUCEk v3ZVdaYBAEeGZ/043xvjJ5I1zaNywbX4UnqURZdQu83BfCOnSN6q+aQ+pbTSuwfipW8v aBM16ZEuUUg6NZAhS6DjoDL2p7drwdYVRy1Lu460fqhq7wjosAK4JNixdI0ICVnp8k6O DSUg==
X-Received: by 10.152.42.196 with SMTP id q4mr53675125lal.14.1395823625247; Wed, 26 Mar 2014 01:47:05 -0700 (PDT)
Received: from [188.117.15.107] ([188.117.15.107]) by mx.google.com with ESMTPSA id a7sm470647lbc.9.2014.03.26.01.47.03 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Mar 2014 01:47:04 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Jouni Korhonen <jouni.nospam@gmail.com>
In-Reply-To: <533233F6.9080406@usdonovans.com>
Date: Wed, 26 Mar 2014 10:47:02 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <0C40B3ED-3B21-4013-9679-98A63DDF56AD@gmail.com>
References: <057.8b248d3cb5db23879c2730b80d4657d7@trac.tools.ietf.org> <B08CCDA3-4E2B-444A-AE27-9DE2D9C0B458@gmail.com> <4B803326-40A9-4E98-AC12-7DDF46BD101B@nostrum.com> <A9CA33BB78081F478946E4F34BF9AAA014D6979E@xmb-rcd-x10.cisco.com> <087A34937E64E74E848732CFF8354B9209772E9C@ESESSMB101.ericsson.se> <58574389-BAEB-49DA-A07E-B6648905C291@gmail.com> <533097D1.3090803@usdonovans.com> <D24C5BAB-C9CD-4AA1-8F1D-AB21D25EDB01@nostrum.com> <533233F6.9080406@usdonovans.com>
To: Steve Donovan <srdonovan@usdonovans.com>
X-Mailer: Apple Mail (2.1510)
Archived-At: http://mailarchive.ietf.org/arch/msg/dime/aaxqB62QwLRXbJ6zvGZtk6sb9gY
Cc: Ben Campbell <ben@nostrum.com>, dime@ietf.org
Subject: Re: [Dime] [dime] #46: Bad normative advice on not letting overload reports expire
X-BeenThere: dime@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Diameter Maintanence and Extentions Working Group <dime.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dime>, <mailto:dime-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dime/>
List-Post: <mailto:dime@ietf.org>
List-Help: <mailto:dime-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dime>, <mailto:dime-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Mar 2014 08:47:10 -0000

+1

On Mar 26, 2014, at 3:57 AM, Steve Donovan <srdonovan@usdonovans.com> wrote:

> I'm ok with Ben's suggested wording.
> 
> Steve
> 
> On 3/25/14, 6:16 PM, Ben Campbell wrote:
>> I do not agree. While this fixes a related problem of using a zero validity-duration to signal the end of an overload condition, it still implies that one SHOULD NOT let a report "just expire". As I've argued before, I believe there are time when it is just as good, if not better, to let an overload condition expire naturally.
>> 
>> Here's a quote of my argument to that effect from further down the thread:
>> 
>>> I think it's reasonable to say that a reporting node should terminate an overload condition in a timely manner. But if it's about to expire anyway, then expiration might be just as timely as an explicit report.
>>> 
>>> And of course, the definition of "timely" is somewhat a matter of policy. For example, I can imagine an deployment that had a large number of clients using fairly short validity durations, and _never_ explicitly signaling an end to an overload condition. This adds a bit of a "slow-start" to the recovery, since different clients will expire the overload condition at different times, and the load will ramp up gradually. I don't see anything wrong with that. Of course, it wouldn't work if one chose long validity durations, or if the signaling of overload to different clients happened in close synchronization.
>> So, here's a different proposal for your first paragraph:
>> 
>>    "When a reporting node has recovered from overload, it SHOULD invalidate any existing overload reports in a timely matter. This can be achieved by sending an updated overload report (meaning the OLR contains a new sequence number) with the OC-Validity-Duration AVP value set to zero ("0"). If the overload report is about to expire naturally, the reporting node MAY choose to simply let it do so."
>> 
>> 
>> On Mar 24, 2014, at 3:38 PM, Steve Donovan <srdonovan@usdonovans.com> wrote:
>> 
>>> Here's some proposed wording that will hopefully let us close this issue:
>>> 
>>> Regards,
>>> 
>>> Steve
>>> 
>>> -----
>>> 
>>> Section 4.5., paragraph 3 -
>>> 
>>> Current -02 wording:
>>> 
>>> As a general guidance for implementations it is RECOMMENDED never to
>>>    let any overload report to timeout.  Following to this rule, an
>>>    overload endpoint should explicitly signal the end of overload
>>>    condition and not rely on the expiration of the validity time of the
>>>    overload report in the reacting node.  This is achieved by sending an
>>>    updated overload report (meaning it must contain a new sequence
>>>    number) with the OC-Validity-Duration AVP value set to zero ("0").
>>> 
>>> Proposed wording:
>>> 
>>>    A reporting node SHOULD explicitly signal the end of overload
>>>    condition in a timely manner.  This is achieved by sending an
>>>    updated overload report (meaning the OLR contains a new sequence
>>>    number) with the OC-Validity-Duration AVP value set to zero ("0").
>>> 
>>>   A reacting node MUST invalidate and remove an overload report that
>>>   expires without an explicit overload report containing an OC-Validity-Duration
>>>   value set to zero ("0").
>>> 
>>> 
>>> On 2/11/14 4:31 PM, Jouni Korhonen wrote:
>>>> Fine with me.
>>>> 
>>>> - Jouni
>>>> 
>>>> On Feb 11, 2014, at 12:24 PM, Maria Cruz Bartolome
>>>> <maria.cruz.bartolome@ericsson.com>
>>>>  wrote:
>>>> 
>>>> 
>>>>> Ben, Nirav,
>>>>> 
>>>>> I follow same argumentation.
>>>>> Regards
>>>>> /MCruz
>>>>> 
>>>>> -----Original Message-----
>>>>> From: DiME [
>>>>> mailto:dime-bounces@ietf.org
>>>>> ] On Behalf Of Nirav Salot (nsalot)
>>>>> Sent: martes, 11 de febrero de 2014 11:23
>>>>> To: Ben Campbell; Jouni Korhonen
>>>>> Cc:
>>>>> dime@ietf.org list; draft-docdt-dime-ovli@tools.ietf.org
>>>>> 
>>>>> Subject: Re: [Dime] [dime] #46: Bad normative advice on not letting overload reports expire
>>>>> 
>>>>> Ben,
>>>>> 
>>>>> I resonate with your thinking below.
>>>>> 
>>>>> Regards,
>>>>> Nirav.
>>>>> 
>>>>> -----Original Message-----
>>>>> From: DiME [
>>>>> mailto:dime-bounces@ietf.org
>>>>> ] On Behalf Of Ben Campbell
>>>>> Sent: Monday, February 10, 2014 9:54 PM
>>>>> To: Jouni Korhonen
>>>>> Cc:
>>>>> dime@ietf.org list; draft-docdt-dime-ovli@tools.ietf.org
>>>>> 
>>>>> Subject: Re: [Dime] [dime] #46: Bad normative advice on not letting overload reports expire
>>>>> 
>>>>> 
>>>>> On Feb 10, 2014, at 5:16 AM, Jouni Korhonen
>>>>> <jouni.nospam@gmail.com>
>>>>>  wrote:
>>>>> 
>>>>> 
>>>>>> My reasoning for explicit termination was that knowing the
>>>>>> implementation folks they will let overload conditions expire unless advised otherwise.
>>>>>> And having unnecessary stuff hanging around waiting for a cleanup is
>>>>>> not a good thing in general. But I am open here for other options..
>>>>>> 
>>>>>> 
>>>>> I think it's reasonable to say that a reporting node should terminate an overload condition in a timely manner. But if it's about to expire anyway, then expiration might be just as timely as an explicit report.
>>>>> 
>>>>> And of course, the definition of "timely" is somewhat a matter of policy. For example, I can imagine an deployment that had a large number of clients using fairly short validity durations, and _never_ explicitly signaling an end to an overload condition. This adds a bit of a "slow-start" to the recovery, since different clients will expire the overload condition at different times, and the load will ramp up gradually. I don't see anything wrong with that. Of course, it wouldn't work if one chose long validity durations, or if the signaling of overload to different clients happened in close synchronization.
>>>>> 
>>>>> _______________________________________________
>>>>> DiME mailing list
>>>>> 
>>>>> DiME@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/dime
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> DiME mailing list
>>>>> 
>>>>> DiME@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/dime
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> DiME mailing list
>>>>> 
>>>>> DiME@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/dime
>>>> _______________________________________________
>>>> DiME mailing list
>>>> 
>>>> DiME@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/dime
>>>> 
>>>> 
>>>> 
>>> _______________________________________________
>>> DiME mailing list
>>> DiME@ietf.org
>>> https://www.ietf.org/mailman/listinfo/dime
>> 
> 
> _______________________________________________
> DiME mailing list
> DiME@ietf.org
> https://www.ietf.org/mailman/listinfo/dime