What is a sever?
The server is a device or a computer programme that generates responses based on user or client queries.
Welcome to another article by techitcs. Today I will explain to you what is server and different types of server.
So let’s start…
A server is a machine or a computer program that gives you the solution to the query that is raised by the client device. A client can be any device that is raising the query and in a network.
This architecture where the client device communicates with the server and the server communicates with the client is known as a client-server architecture.
Servers are of many types and provide many functionalities like assigning IP to a device(DHCP Server), Resolving domain name(DNS Server) and much more. By using this client-server architecture a single computation can be distributed across multiple devices so that the computation can be faster. Servers also provide us with the way of sharing data among multiple clients. Servers are so powerful that they can serve to multiple clients at the same time and a single client can use multiple servers.
When a client device sends a request and waits for the server to send back the response. This is called the request-response model. A server computer is more powerful than a personal computer because it needs to handle much load than a personal computer.
Why we use servers?
Since there are various types of servers they all are used to perform different tasks. Servers only come into play when there is a network. Servers can be used for sending and receiving emails, hosting a website and other tasks. Servers are also used for performing a calculation that can’t be performed by using the hardware of your personal computers. You can have a dedicated server that will perform any specific task as per your need or a shared server that can be used for DNS, FTP, or hosting multiple websites.
Why are servers always on?
In a network, servers play an important role because you don’t know at what time which client will request and for what. So to provide constant service to a client a server needs to be ON always irrespective of time. Because a client can make request any time and the server needs to respond. Many times servers fail that will affect the services that a client requests.
There are many different kinds of server like:
Database Servers, File Server, Mail Server, Print Servers, Web Servers, Game servers and much more.
Let’s learn about these servers in detail:
These types of servers are used for hosting web applications that are a computer program that will run insides client’s browser. This will allow the client computer to run and use that application without installing into its own computer. Although application server can respond as a web server but they have also some additional functionalities that a web server can’t do. An application server responds to some other protocols rather than only HTTP protocols. So we can say that a web server is a subset of the application server. Java, PHP and .NET frameworks are the examples of server-side languages.
As I mentioned above web server are the servers that will respond to only HTTP requests. When a client computer request for a web page then it simply transfers HTML page by using the HTTP protocol. There is no logic involved in the web servers.
Have you ever listened about cloud computing if not then don’t worry I will explain about it in my upcoming articles? So in cloud computing, there are many servers that are placed on some remote location but you can excess those servers by sitting at your home and you can have whatever operating system you want to have on those servers. You have the option of allocating space for your machine. Basically, cloud servers are the hardware devices that are used in cloud computing. Google Cloud is a perfect example of this.
These are the servers which are used to store large data. When the data is stored in these servers than any client with permission can access the database of these servers and retrieve whatever he wants to see by sitting at any location. A client computer can access the database using query languages like SQL, it is the most common example of query language and is still used.
As the name suggests a dedicated server is only for you. These types of server can only for a specific organization there is no interference of other organization’s data that is why it is called a dedicated server. Unlike shared servers that are shared among various client, a dedicated server can only be accessed by the organization to whom it is dedicated not any other person or organization. These type of servers are much expensive as compared to others.
DNS stands for Domain Name System. DNS servers are used for resolving domain names or hostname and respond to their corresponding IP address.
Paul Mockapetris and Jon Postel designed the first DNS in 1983. DNS servers just take the unique domain name or hostname and return back a unique IP address that is associated with that unique name.
I will explain more about DNS servers in my upcoming articles.
A proxy server is a server that allows you to send a request on behalf of you.
A proxy server acts as a middleman whenever you make any request on the internet then first it goes to the proxy server and then it passes forward. The biggest benefit of a proxy server is privacy. By using a proxy server your public IP is not visible to the outside world although there are several ways through which the public IP behind a proxy can be traced.
I hope you liked my article…Keep Learning New Things.