What is a reverse proxy?? Load balancing I understand.

Source: Internet
Author: User
Ask for advice!!
I love Segmentfault. So I refuse Baidu.

Reply content:

Ask for advice!!
I love Segmentfault. So I refuse Baidu.

Nutshell

  • Forward proxy: {Client---Proxy server}---server. {}represents a local area network

  • Reverse Proxy: Client---"{Proxy server---" server}. {}represents a local area network

The forward proxy is configured by the client, usually the client in an intranet, the server in the external network, the client through the proxy to access the server, which is usually transparent to the service side.

While the reverse proxy is configured by the server, the gateway that does the reverse proxy has an extranet address, and the business servers that actually have the ability to handle the request are not exposed directly to the external network. The URL resolves to the gateway's extranet address, and the gateway takes the user's request to access the Business Server and returns the results. This is exactly the opposite of the direction and logic of the forward proxy, which is transparent to the client.

Load balancing can be implemented by reverse proxy (the actual request is distributed across multiple business machines), and there are various uses such as the ability to monitor alarms, hide business servers, improve security, configure caching to reduce pressure on the business Server, and more.

The reverse proxy is not very clear,
When the amount of web traffic is large, it can cause the server to respond slowly or even deny service. This time how to solve, and put forward a kind of called load balancing strategy. Mainly scattered requests, a number of server sets and together, through a scheduler to spread the request on different machines.

  • 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.