What is Cache Memory?Concept Of CPU Cache

Concept Of CPU Cache
Concept Of CPU Cache 

In the world of networking computers don't go by names like humans do they go by numbers because that's how computers and other similar devices talk and identify with each other over a network which is by using numbers such as IP addresses. Humans on the other hand are accustomed to using names instead of numbers whether it's talking directly to another person or identifying a country place or thing humans identify with names instead of numbers so in order to bridge the communication gap between computers and humans and make the communication a lot easier networking engineers developed DNS .DNS stands for domain name system and DNS resolves names to numbers to be more specific it resolves domain names to IP addresses so if you type in a web address in your web browser .DNS will resolve the name to a number because the only thing computers know are numbers so for example if you wanted to go to a certain web site you would open up your browser and sort within the domain name of that website so for example let's use yahoo.com now technically you really don't have to type in yahoo.com to retrieve the Yahoo web page you'll just type.

What is Cache Memory?

 IP address instead if you already knew what the IP address was but since we aren't accustomed to memorizing and dealing with numbers especially when there are millions of websites on the Internet we can just type in the domain name instead and let dns convert it to an IP address for us so back to our example once you type in yahoo.com in your web browser .the DNS server will search through its database to find a matching IP address for that domain name and when it finds it it will resolve that domain name to the IP address of the Yahoo website and once that is done then your computer is able to communicate with the yeah web server and retrieve the web page . DNS basically works like a phonebook when you want to find a number you don't look up the amount first you search the name first then it will give you the number so to break this down into further detail let's examine the steps :

  •  DNS takes so when you type in yahoo.com in your web browser and if your web browser or operating system can't find the IP address in its own cache memory it will send the query to subsequent level to what is called the resolver server.
  •  Resolver server is basically your ISP or Internet service provider so when the resolver receives the query it will check its own cache memory to seek out an IP address for yahoo.com and if it can't find it it'll send the query to the next level which is the root server the root servers are the highest or the basis.
  • DNS hierarchy there are 13 sets of these root servers and they are strategically placed around the world and they are operated by 12 different organizations and each set of these root servers has their own unique IP address .
  • So when the root server receives a query for the IP address for yahoo.com the root server is not going to know what the IP address is but the root server does know where to send the resolver to help it find the IP address so the root server will direct the resolver to the TLD or top-level domain server for the dot-com domain so the resolver .
  • TLD server for the IP address for yahoo.com the top-level domain server stores the address information for top-level domains such as Com,Net org and so on this particular TLD server manages the dot-com domain which yahoo.com is a part of so when the TLD server receives the query for the IP .
  • TLD server isn't getting to know what the IP address is for Yahoo com so the TLD will direct the resolver to the next and final level which are the authoritative name servers so once again the resolver will now ask the authoritative nameserver .
  •  IP address for yahoo.com the authoritative name server or servers are responsible for knowing everything about the domain which includes the IP address they are the final authority so when the authoritative name server receives the query from the resolver the name server will respond with the IP address for yahoo.com.

Concept Of CPU Cache 

Finally the resolver will tell your computer the IP address for  yahoo.com and then your computer can now retrieve the Yahoo web page it's important to note that once the resolver receives the IP address it will store it in its cache memory in case it receives another query for yahoo.com .

If You like this article on What is Cache Memory?Concept Of CPU Cache then please give your valuable comment below.

Post a Comment