following content is a server-side cache solution. Non-code-level solutions can only be achieved through cooperation among multiple parties.6. Memory Cache:Memcached is a high-performance, distributed memory object PHP cache mechanism system that reduces database loads in dynamic applications and improves access speed.7. php Buffer: There are eaccelerator, apc, phpa, and xcache. You don't need to talk about this. You can search for a bunch of them and read them by yourself. If you know what it
uses this method. See the following running time, such as 0.09xxx.
9. reverse proxy-based Web cache:
For example, Nginx, SQUID, mod_proxy (apache2 and above are also divided into mod_proxy and mod_cache)
10. DNS round robin:
BIND is an open-source DNS server software, which is too big to be mentioned. you can search for it by yourself.
I know that chinacache and other major sites are doing this. Simply put, they are multiple servers and cac
, because the HTML cache usually does not change the content frequently. When the data is updated, you can force the HTML to be updated.
In addition to the above caching methods, there are also some server-side caching solutions, not code-level:
Php buffer: there are eaccelerator, apc, phpa, and xcache. you don't need to talk about this. search for a bunch of them. you can check it yourself. if you know it is OK.
MySQL cache: this is not code-level. it is used in a classic Database. See the f
Sometimes we need to control the expiration time of webpages such as home pages. For example, if we use Chinacache CDN, how should we design it so that it can cache my content. of course, you must first enable the reload_assist_ims on function in CDN. in this way, no-cache is not used. this will convert no-cache to If-Modified-Since. therefore, we can write a program to control If-Modified-Since. note: in the cache system architecture, it is best to c
. you can search for a bunch of them and read them by yourself. if you know what it is, OK.
8. MYSQL cache:
This is not code-level. the classic database uses this method. See the following running time, such as 0.09xxx.
9. reverse proxy-based Web cache:
For example, Nginx, SQUID, mod_proxy (apache2 and above are also divided into mod_proxy and mod_cache)
10. DNS round robin:
BIND is an open-source DNS server software, which is too big to be mentioned. you can search for it by yourself.
; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; }
The configurations of Client1 and Client2 are as follows:
server { listen 80; server_name www.zzl.com;
OK. After setting, load your nginx reload nginx-s reload.
This is the success !!!
How to distribute multiple nginx instances and achieve Load Balancing for large domestic websites?
This information is basically incomplete. Let me talk about a basic architecture:1. If you have sufficient funds f
it to the website, or you may not know that this website has an image for the China Netcom line.
Using a unified domain name and then automatically guiding to different backup storages based on the user's line is the function of intelligent DNS (Intelligent DNS is actually part of CDN and the front-end part)
There are still some places where multiple domain names are used, such as downloading the image server from a website. Because intelligent DNS has some defects (it is not necessarily the ri
content is the server-side caching scheme, non-code-level, to have a multi-party cooperation to do
6. Memory Cache:
Memcached is a high-performance, distributed memory object PHP caching mechanism system for reducing database load and increasing access speed in dynamic applications.
7, the buffer of PHP:
There are eaccelerator, APC, Phpa,xcache, this is not to say, search a bunch of a bunch of, see for yourself, know that this thing is OK
8. mysql Cache:
This is also non-code level, t
on all levels of DNS server record updates, this process is relatively lengthy, need to do is to wait patiently ...Nginx+web servers can be load balanced, but an nginx is also limited, if not high, how to achieve load balancing on his upper level. If it is a DNS or CDN, building a number of rooms, there is bound to be a number of computer room data synchronization problem. is there any good information on this?2013-12-28 10:57# Insider High-quality smooth answer race hot start! Supe
following running time, such as 0.09xxx.My post part is modified according to the guy in blue. ini. the MYISAM table of 2 GB can be around 5s. it is said that he has changed it for almost a year.
Reverse proxy-based Web cache:
For example, Nginx, SQUID, mod_proxy (apache2 and above are also divided into mod_proxy and mod_cache)NGINX example
DNS round robin:
BIND is an open-source DNS server software, which is too big to be mentioned. you can search for it by yourself.I know that
of Nginx
DNS Polling:
Bind is an open source DNS server software, this to say it is big, their own search, you know there is this thing on the line.I know that there are chinacache and other major stations to do so, said the simple point is a multi-server, the same page or file cache to different servers, according to the North-South automatic resolution to the relevant server.
http://www.bkjia.com/PHPjc/446421.html www.bkjia.com true http://www.bk
Polling:
Bind is an open source DNS server software, this to say it is big, their own search, you know there is this thing on the line.I know that there are chinacache and other major stations to do so, said the simple point is a multi-server, the same page or file cache to different servers, according to the North-South automatic resolution to the relevant server.
http://www.bkjia.com/PHPjc/478732.html www.bkjia.com true http://www.bkjia.com/PHPjc/
the following running time, such as 0.09xxx.
9. reverse proxy-based Web cache:
For example, Nginx, SQUID, mod_proxy (apache2 and above are also divided into mod_proxy and mod_cache)
10. DNS round robin: BIND is an open-source DNS server software, which is too big to be mentioned. you can search for it by yourself.I know that chinacache and other major sites are doing this. Simply put, they are multiple servers and cache the same page or file on d
caching:
such as Nginx,squid,mod_proxy (Apache2 and above are divided into mod_proxy and Mod_cache)
10. DNS Polling:
Bind is an open source DNS server software, this to say it is big, their own search, you know there is this thing on the line.
I know that there are chinacache and other major stations to do so, said the simple point is a multi-server, the same page or file cache to different servers, according to the North-South automatic resolution t
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.