From: David Lang <david@lang.hm>
To: Ulrich Speidel <u.speidel@auckland.ac.nz>
Cc: David Lang <david@lang.hm>, starlink@lists.bufferbloat.net
Subject: Re: [Starlink] fiber IXPs in space
Date: Sun, 16 Apr 2023 16:22:34 -0700 (PDT) [thread overview]
Message-ID: <rnn235s4-oqqo-6o6q-s3qs-8768no64q54n@ynat.uz> (raw)
In-Reply-To: <bf821926-5b30-3d7a-2b50-bf79cdd7bde8@auckland.ac.nz>
[-- Attachment #1: Type: text/plain, Size: 4760 bytes --]
On Mon, 17 Apr 2023, Ulrich Speidel wrote:
> On 17/04/2023 10:03 am, David Lang wrote:
>> On Mon, 17 Apr 2023, Ulrich Speidel via Starlink wrote:
>>
>>> On 17/04/2023 5:54 am, David Fernández via Starlink wrote:
>>>> In case you put a DNS server in the satellite, so that it replies
>>>> instead of a DNS server on ground, the RTT is reduced by half.
>>>>
>>>> The idea would be that the satellite inspects IP packets and when it
>>>> detects a DNS query, instead of forwarding the packet to ground
>>>> station, it just answers back to the sender of the query.
>>> Understood - it's just that the gain you have from this is quite small.
>>> DNS queries only happen the first time a host needs to resolve a name, and
>>> then again after cache expiry much later, so they account for only a tiny
>>> fraction of the traffic, and also for only a small amount of the total
>>> delay in page loads. RTT isn't really the big issue in Starlink - yes it's
>>> larger than it perhaps needs to be, and bufferbloat seems to be present,
>>> but compared to GEO, it's now in the range seen for terrestrial Internet.
>>
>> DNS time is more significant than you think, due to the fact that so many
>> websites pull data from many different locations, you end up with a lot of
>> DNS queries when hitting a new site for the first time (and many of these
>> queries are serial not parallel) so it adds quite a bit to the first
>> rendering time of a page.
> But most people don't hit new sites most of the time, and a lot of cascading
> loads hit the same CDNs you've seen previously.
the timeouts on DNS are short enough that they hit them every day when they wake
up
>>>> CDNs or even datacenters (Cloud) in GEO or LEO is even more complex.
>>>
>>> Indeed. In so many ways.
>>>
>>> Mind though that CDNs are generally tied in with DNS nowadays, and there's
>>> another snag: Take two users, Alice in the UK and Bob in New Zealand -
>>> pretty much antipodean, using Starlink in bent-pipe configuration, i.e.,
>>> their traffic goes through, say, the London gateway in the UK and the
>>> Clevedon gateway in NZ. Now imagine both trying to resolve the same CDN
>>> hostname some time apart, but via the same satellite DNS as the satellite
>>> has moved from the UK to NZ in the interim. Say Alice resolves first and
>>> gets the IP address of a CDN server in the UK. If the satellite DNS now
>>> caches this, and Bob queries the same hostname, he gets directed to a
>>> server in the UK literally a world away instead of the Auckland one
>>> closest to him. So unless each satellite carries a geolocated copy of the
>>> world's DNS entries with it and makes a decision based on user location,
>>> you have a problem.
>>
>> This is true when the DNS answer is dynamic, but such cases also have short
>> cache timeouts. Even with a 90 min orbit, a 15 min timeout would
>> significantly lessen the impact (and I would expect that an orbital DNS
>> would detect short timeouts and treat them as a signal to shorten the
>> timeout even more)
>
> Timeout where? At the end user client or at the satellite?
at the DNS cache and at the client. If you are using DNS to redirect people to
the closest/least loaded site, you need to have your DNS timeouts set short so
that you can change where they go with minimal downtime. Many clients refuse to
honor extremely short timeouts (IIRC about 15 min is the low end)
> At the end user client, a short timeout makes no sense at all because their
> host-to-CDN-IP server mapping shouldn't really change in bent pipe - only the
> sat hop changes.
>
> If the timeout is meant to be on the satellite, it means that the satellite
> knows nothing about anything when it arrives to assist you, and needs to
> query some sort of (probably ground-based) DNS server anyway.
>
> Also, the assumption that a satellite will return to the same spot after a
> full orbital period (of say 90 minutes) only applies to satellites in
> equatorial orbits (or polar orbits, and then only to the poles). In all other
> cases, the Earth's rotation will assure that the satellite's return to the
> same location takes many orbital periods.
when the satellite first comes into an area, it won't know what's appropriate to
cach for the area, but it will start caching when people start using it, the
first person suffers the full hit, but everyone after that benefits.
DNS data is not that large, getting enough storage into the satellites to serve
90% of the non-dynamic data should not be a big deal. The dynamic data expires
fast enough (and can be detected as being dynamic and expired faster in the
satellite) that I'm not worried about serving data from one side of the world to
the other.
David Lang
next prev parent reply other threads:[~2023-04-16 23:22 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-16 17:54 David Fernández
2023-04-16 21:22 ` Ulrich Speidel
2023-04-16 22:03 ` David Lang
2023-04-16 22:42 ` Ulrich Speidel
2023-04-16 23:22 ` David Lang [this message]
2023-04-17 0:51 ` Ulrich Speidel
2023-04-17 1:04 ` David Lang
2023-04-17 2:08 ` Ulrich Speidel
2023-04-17 2:34 ` David Lang
2023-04-17 3:21 ` Ulrich Speidel
2023-04-17 5:01 ` David Lang
2023-04-17 5:50 ` Sebastian Moeller
2023-04-16 21:58 ` David Lang
2023-04-17 14:38 ` Rodney W. Grimes
2023-04-17 14:47 ` David Fernández
2023-04-17 19:09 ` David Lang
2023-04-17 20:09 ` Ulrich Speidel
2023-04-17 20:37 ` David Lang
2023-04-17 19:00 ` David Lang
2023-04-18 7:46 ` David Fernández
2023-04-18 8:34 ` Sebastian Moeller
2023-04-18 13:30 ` David Fernández
2023-04-18 17:55 ` David Lang
2023-04-18 5:59 ` Chris J. Ruschmann
2023-04-18 13:01 ` David Fernández
-- strict thread matches above, loose matches on Subject: below --
2023-04-13 16:34 David Fernández
2023-04-13 17:22 ` Michael Richardson
2023-04-13 18:54 ` David Fernández
2023-04-13 20:01 ` Michael Richardson
2023-04-13 20:06 ` Tom Evslin
2023-04-13 15:57 Dave Taht
2023-04-14 14:47 ` Rodney W. Grimes
2023-04-14 19:36 ` David Lang
2023-04-14 19:50 ` Dave Taht
2023-04-15 23:56 ` Rodney W. Grimes
2023-04-16 7:03 ` Ulrich Speidel
2023-04-16 13:01 ` tom
2023-04-16 13:48 ` Ulrich Speidel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.bufferbloat.net/postorius/lists/starlink.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rnn235s4-oqqo-6o6q-s3qs-8768no64q54n@ynat.uz \
--to=david@lang.hm \
--cc=starlink@lists.bufferbloat.net \
--cc=u.speidel@auckland.ac.nz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox