[98494] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: Content Delivery Networks

daemon@ATHENA.MIT.EDU (Paul Reubens)
Fri Aug 10 01:57:13 2007

Date: Fri, 10 Aug 2007 01:55:46 -0400
From: "Paul Reubens" <paulreubens11@gmail.com>
To: "Patrick W.Gilmore" <patrick@ianai.net>
Cc: nanog@merit.edu
In-Reply-To: <80FA99D1-1C4B-4819-A911-7125089175CF@ianai.net>
Errors-To: owner-nanog@merit.edu


------=_Part_8112_17994316.1186725346196
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

How do you engineer around enterprise and ISP recursors that don't honor
TTL, instead caching DNS records for a week or more?


On 8/7/07, Patrick W.Gilmore <patrick@ianai.net> wrote:
>
>
> On Aug 7, 2007, at 10:05 AM, Michal Krsek wrote:
>
> >>> 5) User redirection
> >>> - You have to implement a scalable mechanisms that redirects
> >>> users  to the closes POP. You can use application redirect (fast,
> >>> but not  so much scalable), DNS redirect (scalable, but not so
> >>> fast) or  anycasting (this needs cooperation with ISP).
> >>
> >> What is slow about handing back different answers to the same
> >> query  via DNS, especially when they are pre-calculated?  Seems
> >> very fast to  me.
> >
> > Yes DNS-based redirection scales very pretty.
> >
> > But there are two problems:
> > 1) Client may not be in same network as DNS server (I'm using my
> > home DNS server even if I'm at IETF or I2 meeting on other side of
> > globe)
>
> This has been discussed.  Operational experience posted here by Owen
> shows < 10% of users are "far" from their recursive NS.
>
> You are the tiny minority.  (Don't feel bad, so am I. :)  Most
> "users" either use the NS handed out by their local DHCP server, or
> they are VPN'ing anyway.
>
>
> > 2) DNS TTL makes realtime traffic management inpossible. Remember
> > you may not distribute network traffic, but sometimes also server
> > load. If one server/POP fails or is overloaded, you need to
> > redirect users to another one in realtime.
>
> Define "real time"?  To do it in 1 second or less is nigh
> impossible.  But I challenge you to fail anything over in 1 second
> when IP communication with end users not on your LAN is involved.
>
> I've seen TTLs as low as 20s, giving you a mean fail-over time of 10
> seconds.  That's more than fast enough for most applications these days.
>
> --
> TTFN,
> patrick
>
>

------=_Part_8112_17994316.1186725346196
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

How do you engineer around enterprise and ISP recursors that don&#39;t honor TTL, instead caching DNS records for a week or more?<br><br><br><div><span class="gmail_quote">On 8/7/07, <b class="gmail_sendername">Patrick W.Gilmore
</b> &lt;<a href="mailto:patrick@ianai.net">patrick@ianai.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>On Aug 7, 2007, at 10:05 AM, Michal Krsek wrote:
<br><br>&gt;&gt;&gt; 5) User redirection<br>&gt;&gt;&gt; - You have to implement a scalable mechanisms that redirects<br>&gt;&gt;&gt; users&nbsp;&nbsp;to the closes POP. You can use application redirect (fast,<br>&gt;&gt;&gt; but not&nbsp;&nbsp;so much scalable), DNS redirect (scalable, but not so
<br>&gt;&gt;&gt; fast) or&nbsp;&nbsp;anycasting (this needs cooperation with ISP).<br>&gt;&gt;<br>&gt;&gt; What is slow about handing back different answers to the same<br>&gt;&gt; query&nbsp;&nbsp;via DNS, especially when they are pre-calculated?&nbsp;&nbsp;Seems
<br>&gt;&gt; very fast to&nbsp;&nbsp;me.<br>&gt;<br>&gt; Yes DNS-based redirection scales very pretty.<br>&gt;<br>&gt; But there are two problems:<br>&gt; 1) Client may not be in same network as DNS server (I&#39;m using my<br>&gt; home DNS server even if I&#39;m at IETF or I2 meeting on other side of
<br>&gt; globe)<br><br>This has been discussed.&nbsp;&nbsp;Operational experience posted here by Owen<br>shows &lt; 10% of users are &quot;far&quot; from their recursive NS.<br><br>You are the tiny minority.&nbsp;&nbsp;(Don&#39;t feel bad, so am I. :)&nbsp;&nbsp;Most
<br>&quot;users&quot; either use the NS handed out by their local DHCP server, or<br>they are VPN&#39;ing anyway.<br><br><br>&gt; 2) DNS TTL makes realtime traffic management inpossible. Remember<br>&gt; you may not distribute network traffic, but sometimes also server
<br>&gt; load. If one server/POP fails or is overloaded, you need to<br>&gt; redirect users to another one in realtime.<br><br>Define &quot;real time&quot;?&nbsp;&nbsp;To do it in 1 second or less is nigh<br>impossible.&nbsp;&nbsp;But I challenge you to fail anything over in 1 second
<br>when IP communication with end users not on your LAN is involved.<br><br>I&#39;ve seen TTLs as low as 20s, giving you a mean fail-over time of 10<br>seconds.&nbsp;&nbsp;That&#39;s more than fast enough for most applications these days.
<br><br>--<br>TTFN,<br>patrick<br><br></blockquote></div><br>

------=_Part_8112_17994316.1186725346196--


home help back first fref pref prev next nref lref last post