Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

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. 

This post first appeared on Learnprogramingbyluckysir, please read the originial post: here

Share the post

How does Server works


Subscribe to Learnprogramingbyluckysir

Get updates delivered right to your inbox!

Thank you for your subscription