Re: [Dime] [dime] #57: Handling of "Realm-Routed" Overload report type

Steve Donovan <srdonovan@usdonovans.com> Tue, 25 February 2014 13:12 UTC

Return-Path: <srdonovan@usdonovans.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 E177B1A06D9 for <dime@ietfa.amsl.com>; Tue, 25 Feb 2014 05:12:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.12
X-Spam-Level:
X-Spam-Status: No, score=-1.12 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_NEUTRAL=0.779] autolearn=no
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 54D0EeEuxZw3 for <dime@ietfa.amsl.com>; Tue, 25 Feb 2014 05:12:04 -0800 (PST)
Received: from biz131.inmotionhosting.com (biz131.inmotionhosting.com [173.247.247.114]) by ietfa.amsl.com (Postfix) with ESMTP id E1BA31A0089 for <dime@ietf.org>; Tue, 25 Feb 2014 05:12:04 -0800 (PST)
Received: from cpe-76-187-100-94.tx.res.rr.com ([76.187.100.94]:55546 helo=SDmac.local) by biz131.inmotionhosting.com with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from <srdonovan@usdonovans.com>) id 1WIHng-0005lg-Mo; Tue, 25 Feb 2014 05:12:00 -0800
Message-ID: <530C969C.3060107@usdonovans.com>
Date: Tue, 25 Feb 2014 07:11:56 -0600
From: Steve Donovan <srdonovan@usdonovans.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: "Wiehe, Ulrich (NSN - DE/Munich)" <ulrich.wiehe@nsn.com>, Maria Cruz Bartolome <maria.cruz.bartolome@ericsson.com>, "dime@ietf.org" <dime@ietf.org>, "draft-docdt-dime-ovli@tools.ietf.org" <draft-docdt-dime-ovli@tools.ietf.org>
References: <066.89ca14db25e51cc9abb1531f0f99f646@trac.tools.ietf.org> <087A34937E64E74E848732CFF8354B9209784BB3@ESESSMB101.ericsson.se> <530B9E01.3050506@usdonovans.com> <5BCBA1FC2B7F0B4C9D935572D9000668151B45D9@DEMUMBX014.nsn-intra.net>
In-Reply-To: <5BCBA1FC2B7F0B4C9D935572D9000668151B45D9@DEMUMBX014.nsn-intra.net>
Content-Type: multipart/alternative; boundary="------------040207060205070808040208"
X-OutGoing-Spam-Status: No, score=-2.9
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - biz131.inmotionhosting.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - usdonovans.com
X-Get-Message-Sender-Via: biz131.inmotionhosting.com: authenticated_id: srdonovan@usdonovans.com
Archived-At: http://mailarchive.ietf.org/arch/msg/dime/Yu2SZxgR5mOy3FS15QN1AeFzpYo
Subject: Re: [Dime] [dime] #57: Handling of "Realm-Routed" Overload report type
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: Tue, 25 Feb 2014 13:12:07 -0000

How do agents learn about a set of servers ability to handle new
sessions (host-less requests) if servers never sent realm-routed-request
reports?

I agree that agents should sent to aggregated report but the servers
need to send RRR reports so the agent can route around them and generate
those aggregated reports.

Steve

On 2/25/14 1:50 AM, Wiehe, Ulrich (NSN - DE/Munich) wrote:
>
> Hi,
>
> I agree with MCruz.
>
>  
>
> Principle is that the server never sends OLRs with a report type of
> realm-routed-request (exept the case where the server knows (i.e.is
> configured) that there is no other server in that realm).
>
>  
>
> Only agents that are configured to take the role of a reporting node
> for a realm will insert OLRs with report type of realm-routed-requests
> into answer messages and the content should be the aggregation of
> percentages as received in host type OLRs from all the servers in the
> realm.
>
>  
>
> Ulrich
>
>  
>
>  
>
>  
>
>  
>
> *From:*DiME [mailto:dime-bounces@ietf.org] *On Behalf Of *ext Steve
> Donovan
> *Sent:* Monday, February 24, 2014 8:31 PM
> *To:* Maria Cruz Bartolome; dime@ietf.org;
> draft-docdt-dime-ovli@tools.ietf.org
> *Subject:* Re: [Dime] [dime] #57: Handling of "Realm-Routed" Overload
> report type
>
>  
>
> Maria Cruz,
>
> Thanks for the comments.  We obviously have a different understanding
> of the meaning of realm-routed-request report (new attempt at a name
> to try to make Ulrich happy :-) ).
>
> My definition is that it is a report generated by the server when the
> server does not want to receive new sessions. 
>
> Your definition appears to be that it is a report generated by an
> agent (or a server is there are no agents in the network?) to indicate
> that the network need to handle fewer new sessions.
>
> I actually think both cases apply but I don't think that an agent can
> generate a realm-routed-request report without knowing the status of
> servers and their ability to handle new Diameter sessions.
>
> Note that I'm discussing this in the context of session-based
> applications.  This could also be applied to pseudo session based
> applications and applications that always rely on realm routed requests.
>
> Everyone, which definition applies?
>
> Steve
>
> On 2/24/14 12:51 PM, Maria Cruz Bartolome wrote:
>
>     Steve,
>
>      
>
>     See some comments below please.
>
>     /MCruz
>
>      
>
>     -----Original Message-----
>
>     From: DiME [mailto:dime-bounces@ietf.org] On Behalf Of dime issue tracker
>
>     Sent: lunes, 24 de febrero de 2014 17:20
>
>     To: draft-docdt-dime-ovli@tools.ietf.org <mailto:draft-docdt-dime-ovli@tools.ietf.org>; srdonovan@usdonovans.com <mailto:srdonovan@usdonovans.com>
>
>     Cc: dime@ietf.org <mailto:dime@ietf.org>
>
>     Subject: [Dime] [dime] #57: Handling of "Realm-Routed" Overload report type
>
>      
>
>     #57: Handling of "Realm-Routed" Overload report type
>
>      
>
>      I'm assuming the name of the realm overload report in the -01 version will
>
>      be changed to realm-routed.  This issue applies independent of the actual
>
>      name of the report.
>
>      
>
>      The current behavior assumed for the realm-routed report is that the
>
>      reacting node, generally the client, will reduce the percentage of realm
>
>      routed requests sent to the reporting node.
>
>      
>
>      This is actually bad behavior and could result in the client throttling
>
>      traffic that could have been handled by the full set of servers for that
>
>      Diameter application.
>
>     [MCruz] This can only happen if the agent has miscalculated the realm overload.
>
>      
>
>      Consider the case where there are n servers for a Diameter application and
>
>      all of those server are able to handle any transaction for that
>
>      application.
>
>      
>
>      When one of those servers becomes overloaded and wishes to decrease the
>
>      number of new sessions, the primary use of realm-routed requests.  The
>
>      server will generate an OLR of type realm-routed.
>
>     [MCruz] I do not agree. Servers do not generate Realm-routed reports.
>
>      
>
>      Assume in this case that the other servers are all healthy and able to
>
>      handle new sessions.
>
>      
>
>      Clients will not have the knowledge that there are other servers in the
>
>      network able to handle the new session and will have no choice but the
>
>      throttle a percentage of the new session requests.  Even when these
>
>      throttled requests could have been handled by any of the non overloaded
>
>      servers.
>
>      
>
>      The proposal is to specify that realm-routed reports must be handled by
>
>      DOIC-supporting agents.  Agents will understand if there are other servers
>
>      able to handle the new session and, if so, can adjust the percentage of
>
>      requests routed to the overloaded server.
>
>      
>
>      Agents that handle the realm-routed OLR must remove the request from the
>
>      answer before relaying the answer to client.  This prevents the report
>
>      from being acted on by either multiple agents (if multiple are in the
>
>      path) or by an agent and a client.
>
>      
>
>      Clients that receive the realm-routed OLR must handle the OLR by
>
>      throttling the requested percentage.
>
>      
>
>  
>