Re: [DNSOP] Ask for advice of 3 new RRs for precise traffic scheduling

左鹏 <zuopeng@cnnic.cn> Fri, 15 December 2017 08:19 UTC

Return-Path: <zuopeng@cnnic.cn>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7B854127419 for <dnsop@ietfa.amsl.com>; Fri, 15 Dec 2017 00:19:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] 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 90DCpqd38G-3 for <dnsop@ietfa.amsl.com>; Fri, 15 Dec 2017 00:19:46 -0800 (PST)
Received: from cnnic.cn (smtp13.cnnic.cn [218.241.118.13]) by ietfa.amsl.com (Postfix) with ESMTP id 122E0124D37 for <dnsop@ietf.org>; Fri, 15 Dec 2017 00:19:45 -0800 (PST)
Received: by ajax-webmail-ocmail02.zx.nicx.cn (Coremail) ; Fri, 15 Dec 2017 16:19:44 +0800 (GMT+08:00)
X-CM-HeaderCharset: UTF-8
X-Originating-IP: [218.241.103.18]
Date: Fri, 15 Dec 2017 16:19:44 +0800
From: 左鹏 <zuopeng@cnnic.cn>
To: Robert Edmonds <edmonds@mycre.ws>
Cc: bert hubert <bert.hubert@powerdns.com>, dnsop <dnsop@ietf.org>
X-Priority: 3
X-Mailer: Coremail Webmail Server Version XT3.0.5b dev build 20150108(58896.7041) Copyright (c) 2002-2017 www.mailtech.cn cnnic
In-Reply-To: <20171214214056.r37cz5rbmpxwjw3q@mycre.ws>
References: <2017121315404971736813@cnnic.cn> <20171213081823.GA8970@laperouse.bortzmeyer.org> <20171213084342.GA30523@server.ds9a.nl> <201712131736325755287@cnnic.cn> <20171213095015.GC30523@server.ds9a.nl> <20171214214056.r37cz5rbmpxwjw3q@mycre.ws>
X-SendMailWithSms: false
Content-Transfer-Encoding: base64
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
Message-ID: <3519c0a3.328f.1605941fa4b.Coremail.zuopeng@cnnic.cn>
X-CM-TRANSID: AQAAf0BJUNyghTNaWNU9AA--.4784W
X-CM-SenderInfo: x2xr1vlqj6u0xqlfhubq/1tbiAQAPCSVCN20LiAAAs5
X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VW3Jw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU=
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/zJTYa1YsOP7avnTu8Ia5fxUkMmI>
Subject: Re: [DNSOP] Ask for advice of 3 new RRs for precise traffic scheduling
X-BeenThere: dnsop@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnsop>, <mailto:dnsop-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop/>
List-Post: <mailto:dnsop@ietf.org>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnsop>, <mailto:dnsop-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Dec 2017 08:19:48 -0000

thanks for your comment!

> -----原始邮件-----
> 发件人: "Robert Edmonds" <edmonds@mycre.ws>
> 发送时间: 2017-12-15 05:40:56 (星期五)
> 收件人: "bert hubert" <bert.hubert@powerdns.com>
> 抄送: "zuopeng@cnnic.cn" <zuopeng@cnnic.cn>, dnsop <dnsop@ietf.org>
> 主题: Re: [DNSOP] Ask for advice of 3 new RRs for precise traffic scheduling
> 
> bert hubert wrote:
> > On Wed, Dec 13, 2017 at 05:36:32PM +0800, zuopeng@cnnic.cn wrote:
> > >  so far as i know, many CDNs already use similar methods as you mentioned in PowerDNS 4.1.1 
> > >  but  i think only the  Authoritative Server change is not enough,  support on the recursive server is also very important .
> > >   because the resolver determines the reponse to clients.
> > 
> > This is true.  A typical resolver will serve around 50,000 to 2,000,000
> > users (although this is rare). This means that for 60 seconds, you shift
> > around 'a hundred thousand' potential users. 
> > 
> > In practice, this appears to be good enough from what I hear.
> > 
> > Or let me put it another way, before we burden the DNS protocol with another
> > record type we have to add downgrade/workaround/DNSSEC support for, we
> > should have numbers that say it solves a problem.
> > 
> > CDNs could maybe chime in.
> 
> Hi,
> 
> With my CDN hat on, I don't see any need to turn over scheduling
> decisions to resolvers. Extremely precise amounts of traffic can already
> be scheduled to individual CDN nodes because you have a large pool of
> owner names to work with, not a single owner name, and every (QNAME,
> QTYPE, resolver IP, client subnet [if present], anycast location that
> receives the query) tuple is an opportunity to make a unique scheduling
> choice. Generally, however, assignments to CDN nodes should be
> relatively sticky. You want to be shifting traffic for performance
> reasons, not capacity reasons.
> 

The "precise traffice scheduling" i mentioned is not only for performance reason, but also for capacity reason.
For performance, i think the existing system already works fine. As long as a CDN DNS has "view" function, the local DNS can 
bring the client to the closest CDN nodes easily.  
For capacity, here is a user case. I learned this case from people working in a CDN company,though i am not sure if it is a 
common problem worldwide. For example, a CDN provider has 10G capacity in province A and 8G in province B. (B is close to A 
geographically).  For some reason(eg. large population in A), 10G is not enough in the rush hour. Assume there is 12G trafffic during rush hour, the CDN needs to schedule 2G to province B while keep 10G in A.  


> Or, put another way, we like existing resolver implementations just
> fine, we just wish there were a lot more resolver instances, and closer
> to clients :-)
> 

yes, more resolvers are good to improve user experience.
but also maybe we should notice each CDN node has different capacity.(it is the real in practice).
a "weight-aware" rosolver can schedule clients to diffent nodes according to weight pricisely.
or shall we do something only for authoritative server like defining the weighted A/AAAAx? 

btw, any comments on the weightd CNAMEXs for multi-CDN? :)
> -- 
> Robert Edmonds