In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
[preface] the author has found a small truth by browsing moments these days. Maybe you all know, ha, I may be enlightened more slowly than you. What I am enlightened is that people's self-confidence comes from experience. Just like when I introduce you to the buffet and hot pot, I may talk eloquently and feel confident, while I can only hesitate to say yes to others who don't know or have no experience. It's like the landlord's aunt told me about the customs and customs of all over the world.
[Lenovo]
When it comes to reverse proxy, you can't help but think of load balancing. Because it is complementary.
1. Explain what is Nginx reverse proxy and how to achieve load balancing?
A:
The client uses the Nginx proxy server to send the request to the internal web server, which is used to improve the access speed of static web pages. That is to say, add a reverse proxy server [Nginx] between the client request and the web server, why go through the reverse proxy server? It is because the reverse proxy server can evenly forward the request to multiple internal web servers, thus achieving the purpose of load balancing.
In other words, if there is no reverse proxy, the request will not be so uniform, there may be a lot of requests on a server, but some servers do not receive requests.
2. If there is a reverse agent, there must be a forward agent, right?
A: the forward proxy server is also located between the client and the server to obtain server data. The client sends a request to the forward proxy server, pointing to the target server. The proxy server transfers the data returned by the target server to the client.
3. What is the difference between forward proxy and reverse proxy?
Answer: forward proxy client, reverse proxy server.
4. What is the use of reverse proxy?
Answer: ① proxy web server receives client request
② is set outside the firewall as a stand-in for the content server, and the client securely connects to the proxy server, which plays a role of security protection.
③ caches static content. When the content changes, the reverse proxy server is notified through the internal mechanism that the cache is invalid and reloaded.
④ implements load balancing.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.