Thursday, December 22, 2016

How does Server works

In this post we will know how Web Server works. A server is a computer program or device that provides the functionality to other programs or devices called clients. Server can provide various functionalities often called services such as sharing data,performing computation for client.

The main purpose of server is to share data and as well as to share resources and distribute work. A single server can serve multiple clients and a single client can use multiple servers. There are different types of servers such as web server,mail server,application server,proxy server,Database server,FTP server etc.. But In this blog we will learn How server works internally. 

The server the part of client-server model, in this model server serves the data for clients. The nature of communication between a client and server is request and response. For example, web server software can run on any capable computer, so a laptop or personal computer can host a web server.


 
When ever the user(client) wants some data then he used to send request to the server(which serves all information). The main function of server is to listen the client incoming requests. The request for the web page is transmitted to the corresponding web server.Then server fetches and assembles the web page and re-transmit it using protocol like HTTP and finally users(clients) receive the data which he required.

Now, what happens if several requests to the server at the same time, the server can able to serve to all requests at a time. 

No comments:

Post a Comment

High Paying Jobs after Learning Python

Everyone knows Python is one of the most demand Programming Language. It is a computer programming language to build web applications and sc...