Tuesday, 6 February 2018

What is a web server? What is its importance?

A web server is a computer system that processes requests via HTTP, the basic network protocol used to distribute information on the World Wide Web.
          The primary function of a web server is to store, process and deliver web pages to clients. The communication between client and server takes place using the Hypertext Transfer Protocol (HTTP). Pages delivered are most frequently HTML documents, which may include images, style sheets and scripts in addition to text content.
         A user agent, commonly a web browser or web crawler, initiates communication by making a request for a specific resource using HTTP
        While the primary function is to serve content, a full implementation of HTTP also includes ways of receiving content from clients. This feature is used for submitting web forms, including uploading of files.
         The behaviour of the web server can be scripted in separate files, while the actual server software remains unchanged.
Web servers are not only used for serving the World Wide Web. They can also be found embedded in devices such as printers, routers, webcams and serving only a local network.
Web servers are able to map the path component of a Uniform Resource Locator (URL) into:
A local file system resource (for static requests)
An internal or external program name (for dynamic requests)
The URL of a website requested by client
http://www.yobha.in
The web server then reads the file, if it exists, and sends a response to the client's web browser. The response will describe the content of the file and contain the file itself or an error message will return saying that the file does not exist or is unavailable.
Load limits :
It can serve only a certain maximum number of requests per second (RPS, also known as queries per second or QPS) depending on:
1.Its own settings,
2.The HTTP request type,
3.Whether the content is static or dynamic.

No comments:

Post a Comment