The role of webserver!

Source: Internet
Author: User

Common webserver:Apache and Nginx (Linux Platform) IIS (window platform)

A lot of small company small projects do not necessarily use webserver at the moment, due to the flow of a single application server can support.

The actual work. What I have learned about the role of webserver:

1. Load Balancing (also provides session support, such as a user IP access to the application of a machine. He will ask for a machine after his request.

2. Proxy forwarding request, more secure, do not directly expose the application ServerIP to each other, because the application server has code and so on

3. webserver is able to unify statistics and processing so the request, for example, has a log of all the URLs visited, as well as statistics.

4. Webserver can also be forwarded to different application server addresses for different URLs.

For example, aaa.com/bbb/ccc.html forwards a application server. aaa.com/ddd/ccc.html forwarding B Application Server

5. The server can be thrown by all 503 of all error pages uniformly jump into its own set of HTML page, or to the unified error exception system.

6. Application server migration, or IP replacement. It just needs to be configured on the webserver. Ease of unified management


Disadvantages:

1. The network overhead is one more step for each request. Slow.

2. Maintenance is more troublesome.

The role of webserver!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.