FreeBSD Reverse Proxy load Balancing

Source: Internet
Author: User

As mentioned earlier, using a proxy server can forward requests to an internal Web server, and using this acceleration pattern can obviously improve the access speed of static Web pages. However, it is also possible to consider a technique that uses a proxy server to forward requests evenly to multiple Web servers to achieve load balancing purposes.

A member of the Apache Development Group Ralf S.engelschall Proxy module based on Apache Mod_proxy developed a reverse proxy module mod_rproxy to achieve load balancing.

This proxy method is different from the normal proxy way, the standard proxy method is that the customer uses the proxy to access multiple external Web servers, and this proxy method is to proxy multiple clients to access the internal Web server, so also known as reverse proxy mode. Squid's accelerated mode is similar to this, but does not achieve a balanced setting for multiple internal servers. While this task is not particularly complex to achieve, it is not very simple to achieve because of the particularly high efficiency required.

The advantage of using reverse proxies is that you can combine load balancing with the proxy server's caching technology to provide useful performance. However, it is not a small problem, the first is that each service must be dedicated to the development of a reverse proxy server, this is not an easy task. And, although the proxy server itself can be designed very high efficiency, but each for each agent, the proxy server must maintain two connections, an external connection, an internal connection, so for particularly high connection requests, the proxy server load is very large. It is likely that the end of the reverse proxy server has become a service bottleneck.

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.