Re: [Dime] Diameter Load value and SRV
"Trottin, Jean-Jacques (Nokia - FR)" <jean-jacques.trottin@nokia.com> Wed, 16 March 2016 11:49 UTC
Return-Path: <jean-jacques.trottin@nokia.com>
X-Original-To: dime@ietfa.amsl.com
Delivered-To: dime@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 31C0B12D541 for <dime@ietfa.amsl.com>; Wed, 16 Mar 2016 04:49:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] autolearn=ham autolearn_force=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 aZKMI9NMOsTS for <dime@ietfa.amsl.com>; Wed, 16 Mar 2016 04:49:38 -0700 (PDT)
Received: from smtp-fr.alcatel-lucent.com (fr-hpida-esg-02.alcatel-lucent.com [135.245.210.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 23FAB12D512 for <dime@ietf.org>; Wed, 16 Mar 2016 04:49:37 -0700 (PDT)
Received: from fr712umx3.dmz.alcatel-lucent.com (unknown [135.245.210.42]) by Websense Email Security Gateway with ESMTPS id 4399415F825C1; Wed, 16 Mar 2016 11:49:34 +0000 (GMT)
Received: from fr711usmtp1.zeu.alcatel-lucent.com (fr711usmtp1.zeu.alcatel-lucent.com [135.239.2.122]) by fr712umx3.dmz.alcatel-lucent.com (GMO-o) with ESMTP id u2GBnZdG007682 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 16 Mar 2016 11:49:35 GMT
Received: from FR711WXCHHUB01.zeu.alcatel-lucent.com (fr711wxchhub01.zeu.alcatel-lucent.com [135.239.2.111]) by fr711usmtp1.zeu.alcatel-lucent.com (GMO) with ESMTP id u2GBnAVo016147 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 16 Mar 2016 12:49:31 +0100
Received: from FR712WXCHMBA12.zeu.alcatel-lucent.com ([169.254.8.143]) by FR711WXCHHUB01.zeu.alcatel-lucent.com ([135.239.2.111]) with mapi id 14.03.0195.001; Wed, 16 Mar 2016 12:47:22 +0100
From: "Trottin, Jean-Jacques (Nokia - FR)" <jean-jacques.trottin@nokia.com>
To: Steve Donovan <srdonovan@usdonovans.com>, "dime@ietf.org" <dime@ietf.org>
Thread-Topic: [Dime] Diameter Load value and SRV
Thread-Index: AQHReyrMGhLtkBt2p0+E1a6vh+xijZ9UWZAAgAeivfA=
Date: Wed, 16 Mar 2016 11:47:21 +0000
Message-ID: <E194C2E18676714DACA9C3A2516265D29D4D14B1@FR712WXCHMBA12.zeu.alcatel-lucent.com>
References: <56E20D8B.6010408@usdonovans.com> <16686_1457712545_56E2EDA1_16686_1479_1_6B7134B31289DC4FAF731D844122B36E01DFE739@OPEXCLILM43.corporate.adroot.infra.ftgroup>
In-Reply-To: <16686_1457712545_56E2EDA1_16686_1479_1_6B7134B31289DC4FAF731D844122B36E01DFE739@OPEXCLILM43.corporate.adroot.infra.ftgroup>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [135.239.27.40]
Content-Type: multipart/alternative; boundary="_000_E194C2E18676714DACA9C3A2516265D29D4D14B1FR712WXCHMBA12z_"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/dime/X3UVWnZPwaNFlPHWtztZaeVOnjA>
Subject: Re: [Dime] Diameter Load value and SRV
X-BeenThere: dime@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 16 Mar 2016 11:49:41 -0000
Hi Steve and all This is also to confirm that I'm fine with the proposed approach regarding encoding of the load value. Best regards JJacques De : DiME [mailto:dime-bounces@ietf.org] De la part de lionel.morand@orange.com Envoyé : vendredi 11 mars 2016 17:09 À : Steve Donovan; dime@ietf.org Objet : Re: [Dime] Diameter Load value and SRV Hi Steve, I'm fine with this approach. Thank you. regards, Lionel De : DiME [mailto:dime-bounces@ietf.org] De la part de Steve Donovan Envoyé : vendredi 11 mars 2016 01:13 À : dime@ietf.org<mailto:dime@ietf.org> Objet : [Dime] Diameter Load value and SRV All, The current version of the Diameter Load draft says that the load value should be consistent with the use of DNS SRV. It then has an editor's note indicating that we need more detail. The following is my proposal for that additional detail. The relevant section from RFC 2782 (DNS SRV) is the description of the Priority and Weight parameters in the SRV RR copied below. It is mostly based on the Weight section but I included Priority because it is referenced in the Weight section. My proposal is that the Load value communicated in a Diameter Load report be used to dynamically update the Weight value for an entries in the Routing table and in the Peer table. Note that the load mechanism does not give a way to change the priority value. That would still either come as a result of a DNS SRV query or through statically configuring a Diameter node. If this is the case, then the load value would be in the range of 0-65535. The distribution algorithm below results in more messages being sent to a node with a higher weight value. As a result, a higher Diameter load value would indicate a LOWER load on the sending node. A node that is heavily loaded would send a lower load value. Stated another way, a node that has zero load would have a load value of 65535. A node that is 100% loaded would have a load value of 0. The algorithm below would be a suggestion for how Diameter nodes would use the load information but the actual method for using the load information would be an implementation decision. The algorithm would be used in two places. First, Diameter nodes doing the server selection would use the load information to select from a set of candidate servers for a request. It would also be used for selecting the next hop from a set of candidate peer nodes. If there is consensus on this general approach then I will add the appropriate overview and normative requirements in the next version of the Load draft. I am planning to submit that draft prior to the IETF 95 deadline. Regards, Steve ----- Priority The priority of this target host. A client MUST attempt to contact the target host with the lowest-numbered priority it can reach; target hosts with the same priority SHOULD be tried in an order defined by the weight field. The range is 0-65535. This is a 16 bit unsigned integer in network byte order. Weight A server selection mechanism. The weight field specifies a relative weight for entries with the same priority. Larger weights SHOULD be given a proportionately higher probability of being selected. The range of this number is 0-65535. This is a 16 bit unsigned integer in network byte order. Domain administrators SHOULD use Weight 0 when there isn't any server selection to do, to make the RR easier to read for humans (less noisy). In the presence of records containing weights greater than 0, records with weight 0 should have a very small chance of being selected. In the absence of a protocol whose specification calls for the use of other weighting information, a client arranges the SRV RRs of the same Priority in the order in which target hosts, specified by the SRV RRs, will be contacted. The following algorithm SHOULD be used to order the SRV RRs of the same priority: To select a target to be contacted next, arrange all SRV RRs (that have not been ordered yet) in any order, except that all those with weight 0 are placed at the beginning of the list. Compute the sum of the weights of those RRs, and with each RR associate the running sum in the selected order. Then choose a uniform random number between 0 and the sum computed (inclusive), and select the RR whose running sum value is the first in the selected order which is greater than or equal to the random number selected. The target host specified in the selected SRV RR is the next one to be contacted by the client. Remove this SRV RR from the set of the unordered SRV RRs and apply the described algorithm to the unordered SRV RRs to select the next target host. Continue the ordering process until there are no unordered SRV RRs. This process is repeated for each Priority. _________________________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you.
- [Dime] Diameter Load value and SRV Steve Donovan
- Re: [Dime] Diameter Load value and SRV lionel.morand
- Re: [Dime] Diameter Load value and SRV Steve Donovan
- Re: [Dime] Diameter Load value and SRV Trottin, Jean-Jacques (Nokia - FR)
- Re: [Dime] Diameter Load Editor's note on presenc… Trottin, Jean-Jacques (Nokia - FR)
- Re: [Dime] Diameter Load Editor's note on presenc… Steve Donovan
- Re: [Dime] Diameter Load value and SRV Steve Donovan
- Re: [Dime] Diameter Load Editor's note on presenc… Trottin, Jean-Jacques (Nokia - FR)