tag: use the data time server re Web
cache usually refers to cache SRAM. SRAM is called static memory. "static" means that when we write a piece of data into the SRAM, the written data remains unchanged unless new data is written again or power off.
because the CPU speed is much faster than the memory and hard disk speed, the CPU waits for data access, affecting the computer speed. The access speed of SRAM is faster than other memory and hard disks, so it is used as a computer cache ).
with a high-speed cache, You can pre-Write the data to it and read the data from it directly when necessary, which shortens the CPU wait time. The reason why high-speed cache can improve the system speed is based on a statistical rule. The control system on the motherboard automatically calculates which data in the memory will be frequently used, the data is stored in the cache. When the CPU needs to access the data, it will first go to the cache to increase the overall running speed. Generally, a 10% K high-speed cache can increase the speed of the entire machine by about on average
buffer literally means "buffer", which is called a buffer here, because it is not only a noun, but also a verb.
the buffer zone stores a series of data. The data obtained by the client can be directly output from the execution results of the program or from the buffer zone. However, the two methods differ in speed: in the Web, when an ASP program is requested for a small number of times, there is basically no difference between the two, at least we do not feel it. However, when many people request an ASP program, the speed may be different. If there is no buffer, the result obtained by the client of each person requesting the ASP program is the result obtained by executing the ASP program once. If the ASP program is buffered in advance, the result obtained by each client is the result of the buffer, not the result of executing a program. For example, if 1000 users access an ASP page at the same time, if the ASP program is not buffered, the program will be executed one thousand times, so that the server load will increase, this slows down the page opening speed of the client. If the ASP program is buffered, the results will be different. Each client obtains data directly from the buffer zone, the server will not increase the number of program executions because of the increase in access, so the client can open the page faster than in the previous case. This is the benefit of buffer.