The creation of new things is not accidental.
1. Why is Memcache generated?
In the large e-commerce Web page, the volume of data, a large number of users need to access a huge amount of data at the same time, in order to improve the user's access, how to make the page load the fastest, more friendly display to the user before? Then the memcache can be used to store the current data;
2. What is Memcache?
Official: Memcached is a resident process cache product that is created to reduce the load of data from a database by Dynamic Web applications.
I said: Data are in the background database, the foreground of the various dynamic Web pages, access to the database, when the traffic is too large, it is necessary to reduce the query speed, affect the user experience, we all know what the computer is running the fastest, apparently in memory, access to data and operational data is the fastest, so, The great God created the memcache;
3. Use? Where is the main use?
But it is currently used by many websites to improve the speed of website access, especially for some large, frequent access to the database to improve the speed of access to the site is very significant;---share the pear of the database
Summary: That is to say that now on the market of those e-commerce website, it is necessary to frequently access the database, will be applied to Memcache,-------memory cache database; Now I think of the operating system that the university teacher speaks, I will also test 85, back to have a good look at the operating system.
How is 4.memcache stored?
The key=>value is stored in a way that can find the corresponding value value by key.
Follow-up will be summed up in the interview of the Memcache frequently asked questions.
——————————————————————————————————————————————
If anything is wrong, please correct me.
---Mr. Sai in Beijing November 23, 2016 00:53:11
PHP--------Memcache Technology