Summary of reading notes
Release: 2016-07-30 13:29:37
Original
1032 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.
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
Latest Articles by Author
-
2024-10-22 09:46:29
-
2024-10-13 13:53:41
-
2024-10-12 12:15:51
-
2024-10-11 22:47:31
-
2024-10-11 19:36:51
-
2024-10-11 15:50:41
-
2024-10-11 15:07:41
-
2024-10-11 14:21:21
-
2024-10-11 12:59:11
-
2024-10-11 12:17:31