Summary of reading notes

WBOY
Release: 2016-07-30 13:29:37
Original
1003 people have browsed it
The similarities and differences between nginx and apache. nginx static compilation module, apache dynamic and static compilation, you need to load the so file in the configuration module nginx installation package is small and apache installation package is relatively large apche processing speed is very slow and takes up a lot of memory resources. nginx load balancing algorithmPolling is allocated in order, and the machine is automatically kicked off when it crashes The weight is given to the back-end server according to the allocated weightip-HASH It is automatically allocated according to the hash result and matched with the weight Use fair to intelligently allocate traffic to machines based on page loading and backend server speeds user request process server-location-upstreamnginx+fastcgi nginx sends the cgi request to the sock, starts fastcgi, warperr accepts the request and spawns a thread to call the interpreter. Comparison between varnish and squidvarnish is fetched from the memory, while squid is fetched from the hard disk. Varnish is more efficientVarnish is more stable than SquidOnce varnish crashes, the cached data will be released from the memory, and the request will go directly to the back-end server. lvs dr mode must be in a broadcast domain. If it is not in a broadcast domain, rs cannot receive the packet forwarded by lvs and turn off routing forwarding

Copyright statement: This article is the original article of the blogger without the permission of the blogger No reproduction allowed.

The above introduces the summary of reading notes, including aspects of content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!