What is the drawback to using the traditional approach of having a single, publicly accessible web server?
It creates performance bottlenecks, high latency for distant users, and a single point of failure.
What is a CDN?
A distributed network of servers that deliver content from locations closer to end users.
What are the six major challenges that Internet applications face?
What are the major shifts that have impacted the evolution of the Internet ecosystem?
Compare the ‘enter deep’ and ‘bring home’ approach to CDN server placement.
Bring Home embeds servers inside ISPs; Enter deep places large clusters at few major PoPs.
What is the role of DNS in the way CDN operates?
DNS maps users to nearby or optimal CDN servers.
What are the two main steps in CDN server selection?
Select a cluster and then select a server within that cluster.
What is the simplest approach to selecting a cluster? What are the limitations?
Geographic proximity
May not be best end-to-end performance
- protocol inefficiency
- congestion
What metrics could be considered when using measurements to select a cluster?
How are the metrics for cluster selection obtained?
Explain the distributed system that uses a 2-layered system. What are the challenges?
What are the strategies for server selection? What are the limitations?
What is consistent hashing? How does it work?
A hashing scheme that maps servers and objects onto a ring to minimize remapping when servers join/leave.
Why would a centralized design with a single DNS server not work?
It wouldn’t scale, would be a single point of failure, and would introduce high latency globally.
What are the main steps that a host takes to use DNS?
Query resolver, contact authoritative servers, receive response, and cache results.
What are the services offered by DNS apart from hostname resolution?
What is the structure of the DNS hierarchy? Why hierarchical?
Root → TLD → authoritative servers; hierarchy scales globally and distributes load.
What is the difference between iterative and recursive DNS queries?
Iterative returns referrals; recursive performs full lookup on behalf of the client.
What is DNS caching?
Storing DNS responses temporarily to reduce lookup latency and server load.
What is a DNS resource record?
A structured DNS database entry containing information about a domain.
What are the most common types of resource records?
A, CNAME, MX, NS
Describe the DNS message format.
What is IP Anycast?
route client to closest server (via BGP)
What is HTTP Redirection?
A technique where a server instructs a client to request content from a different URL or server.
1. Client sends GET request
2. Server responds with cod 3xx and new server name