Jerry's Blog

Recording what I learned everyday

View on GitHub


26 October 2019

Network(12) -- DNS

by Jerry Zhang

DNS caching

DNS extensively exploits DNS caching in order to improve the delay performance and to reduce the number of DNS messages

In fact, because of caching, root servers are bypassed for all but a very small fraction of DNS queries.

DNS Records and Messages

resource records (RRs)

A resource record is a four-tuple that contains the following fields:

(Name, Value, Type, TTL)

DNS Messages

Peer-to-Peer File Distribution

Dcs >= Max{NF/us,Fdmin}

Dp2p = Max{F/us,F/dmin,NF/(us + ΣuN)}

In deciding which chunks to request, Alice uses a technique called rarest first.

Alice gives priority to the neighbors that are currently supplying her data at the highest rate. Specifically, for each of her neighbors, Alice continually measures the rate at which she receives bits and determines the four peers that are feeding her bits at the highest rate.

tags: Network