In: Computer Science
Question 1
The structure of Domain Name System (DNS) service is distributed.
List reasons for this distributed
service structure. Also, draw a diagram to show how IP address is
resolved in DNS.
Question 2
List the steps involved in getting a video file from any Content
Distribution Network (CDN) that best
matches your available bandwidth.
Answer (1) = Domain name system is a distributed system because in the world millions of users uses internet and single DNS system cann't map host name to every computer in the world, which connected to the internet or we can say that not able to map to every ip address with host name. To solve this purpose we use DNS as distributed system, to reach as much as computers.
Diagram of IP address in DNS system is as:
(1) First user send query to DNS server for IP address of website he want to search.
(2) Then DNS server gives him the IP address of website.
(3) Then user make HTTP request and get the website.
Answer (2) = Content Distribution Networks are the Networks that provide video content now a days. Now, all the users prefered the content in video to watch. in the past video content is not popular, but thet watched, at that time the Systems are not that much powerfull to provide video content dirtectly to users because the bandwidth is also very low, low speed makes video content buffered all time and we aren't able to watch a video completely. So we download the video then watch it.
But in the current time we establish multiple Content Distribution Networks in different- different places in every country. Now a days the bandwidth and speed is also increased. When user request server for video content then this request goes to the nearest network center which can provide high bandwidth to us to stream video content. All the network centers are connected togetherly by Cables with high bandwidth. They servers manages the video data as: "if the video is not popular then they remove that video from servers to manage storage capacity and if the video is most popular, they make its multiple copies to provide fast access to users." So now a days we can watch video contents without a long buffering or we can also watch live streaming. This is possible by only content distribution networks, which are distributed in multiple places.