[Dime] [dime] #70 (draft-ietf-dime-ovli): Appendix B - Example

"dime issue tracker" <trac+dime@trac.tools.ietf.org> Fri, 05 September 2014 07:49 UTC

Return-Path: <trac+dime@trac.tools.ietf.org>
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 0FD051A04B6 for <dime@ietfa.amsl.com>; Fri, 5 Sep 2014 00:49:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.368
X-Spam-Level:
X-Spam-Status: No, score=-1.368 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_25=0.6, J_CHICKENPOX_36=0.6, RP_MATCHES_RCVD=-0.668] 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 qO4qGvMpFgTk for <dime@ietfa.amsl.com>; Fri, 5 Sep 2014 00:49:45 -0700 (PDT)
Received: from zinfandel.tools.ietf.org (zinfandel.tools.ietf.org [IPv6:2001:1890:123a::1:2a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9F5281A04D2 for <dime@ietf.org>; Fri, 5 Sep 2014 00:49:43 -0700 (PDT)
Received: from localhost ([::1]:51004 helo=zinfandel.tools.ietf.org) by zinfandel.tools.ietf.org with esmtp (Exim 4.82_1-5b7a7c0-XX) (envelope-from <trac+dime@trac.tools.ietf.org>) id 1XPoGy-0001LZ-SE; Fri, 05 Sep 2014 00:49:32 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: dime issue tracker <trac+dime@trac.tools.ietf.org>
X-Trac-Version: 0.12.3
Precedence: bulk
Auto-Submitted: auto-generated
X-Mailer: Trac 0.12.3, by Edgewall Software
To: draft-ietf-dime-ovli@tools.ietf.org, maria.cruz.bartolome@ericsson.com
X-Trac-Project: dime
Date: Fri, 05 Sep 2014 07:49:32 -0000
X-URL: http://tools.ietf.org/wg/dime/
X-Trac-Ticket-URL: http://trac.tools.ietf.org/wg/dime/trac/ticket/70
Message-ID: <075.932a395897d769fbc9cf22116adcb797@trac.tools.ietf.org>
X-Trac-Ticket-ID: 70
X-SA-Exim-Connect-IP: ::1
X-SA-Exim-Rcpt-To: draft-ietf-dime-ovli@tools.ietf.org, maria.cruz.bartolome@ericsson.com, dime@ietf.org
X-SA-Exim-Mail-From: trac+dime@trac.tools.ietf.org
X-SA-Exim-Scanned: No (on zinfandel.tools.ietf.org); SAEximRunCond expanded to false
Resent-To: ben@nostrum.com, jouni.nospam@gmail.com, lionel.morand@orange.com, srdonovan@usdonovans.com
Archived-At: http://mailarchive.ietf.org/arch/msg/dime/nHl_y66qE0XIGPcDko5nk6o9R4I
Cc: dime@ietf.org
Subject: [Dime] [dime] #70 (draft-ietf-dime-ovli): Appendix B - Example
X-BeenThere: dime@ietf.org
X-Mailman-Version: 2.1.15
Reply-To: dime@ietf.org
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: Fri, 05 Sep 2014 07:49:46 -0000

#70: Appendix B - Example

 In the example included in Appendix B, it is considered that the Agent
 reports Host overload directly back to the Client, when the Client request
 was for the Realm, withouth Destination Host (or direct connection).
 I do not agree about this behaviour.
 Agent will provide Host overload to the Client only when the request was
 sent to one specific host.

 Example shall be modified.

 Proposed modification:


         Client     Agent      S1        S2        S3
            |         |         |         |         |
            |(1) Request (DR:realm)       |         |
            |-------->|         |         |         |
            |         |         |         |         |
            |         |         |         |         |
            |         |Agent selects S1   |         |
            |         |         |         |         |
            |         |         |         |         |
            |         |         |         |         |
            |         |(2) Request (DR:realm)       |
            |         |-------->|         |         |
            |         |         |         |         |
            |         |         |         |         |
            |         |         |S1 overloaded, returns OLR
            |         |         |         |         |
            |         |         |         |         |
            |         |         |         |         |
            |         |(3) Answer (OH:S1,OLR:RT=DH)
            |         |<--------|         |         |
            |         |         |         |         |
            |         |         |         |         |
            |         |sees OLR,routes next DR traffic to S2&S3
            |         |         |         |         |
            |(5) Request (DR:realm)       |         |
            |-------->|         |         |         |
            |         |         |         |         |
            |         |         |         |         |
            |         |Agent selects S2   |         |
            |         |         |         |         |
            |         |         |         |         |
            |         |         |         |         |
            |         |(6) Request (DR:realm)       |
            |         |------------------>|         |
            |         |         |         |         |
            |         |         |         |         |
            |         |         |         |S2 is overloaded...
            |         |         |         |         |
            |         |         |         |         |
            |         |         |         |         |
            |         |(7) Answer (OH:S2, OLR:RT=DH)|
            |         |<------------------|         |
            |         |         |         |         |
            |         |         |         |         |
            |         |Agent sees OLR, realm now overloaded
            |         |         |         |         |
            |         |         |         |         |
            |         |         |         |         |
            |(8) Answer (OLR: RT=R)
            |<--------|         |         |         |
            |         |         |         |         |
            |         |         |         |         |
            |Client throttles DR:realm
            |         |         |         |         |
            |         |         |         |         |
            |         |         |         |         |
            |         |         |         |         |
            |         |         |         |         |



       Figure 8: Mix of Destination-Host and Destination-Realm Routed
                                  Requests

    1.  The client sends a request with no Destination-Host AVP (that is,
        a Destination-Realm routed request.)

    2.  The agent follows local policy to select a server from its peer
        table.  In this case, the agent selects S2 and forwards the
        request.

    3.  S1 is overloaded.  It sends an answer indicating success, but also
        includes an overload report.  Since the overload report only
        applies to S1, the ReportType is "Destination-Host".

    4.  The agent sees the overload report, and records that S1 is
        overloaded by the value in the Reduction-Percentage AVP.  It
        begins diverting the indicated percentage of realm-routed traffic
        from S1 to S2 and S3.

    5.  The client sends another Destination-Realm routed request.

    6.  The agent selects S2, and forwards the request.

    7.  It turns out that S2 is also overloaded, perhaps due to all that
        traffic it took over for S1.  S2 returns an successful answer
        containing an overload report.  Since this report only applies to
        S2, the ReportType is "Destination-Host".

    8.  The agent sees that S2 is also overloaded by the value in
        Reduction-Percentage.  This value is probably different than the
        value from S1's report.  The agent diverts the remaining traffic
        to S3 as best as it can, but it calculates that the remaining
        capacity across all three servers is no longer sufficient to
        handle all of the realm-routed traffic.  This means the realm
        itself is overloaded.  The realm's overload percentage is most
        likely different than that for either S1 or S2.
        The agent generates a new report for the realm of
        "realm", and inserts that report into the answer.  The client
        throttles requests with no
        Destination-Host AVP at requested rate.

-- 
-------------------------------------+-------------------------------------
 Reporter:                           |      Owner:  draft-ietf-dime-
  maria.cruz.bartolome@ericsson.com  |  ovli@tools.ietf.org
     Type:  defect                   |     Status:  new
 Priority:  minor                    |  Milestone:
Component:  draft-ietf-dime-ovli     |    Version:
 Severity:  Active WG Document       |   Keywords:
-------------------------------------+-------------------------------------

Ticket URL: <http://trac.tools.ietf.org/wg/dime/trac/ticket/70>
dime <http://tools.ietf.org/wg/dime/>