Method and system for reading cache data

A caching data and caching technology, which is applied in the field of network services, can solve the problems of consuming the memory of the cache device, reducing the cache throughput, and restricting the cache access speed, so as to reduce overhead, improve communication efficiency, and increase access speed.

Active Publication Date: 2010-12-15
BEIJING PEOPLE HAPPY INFORMATION TECH
View PDF1 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when there is a large amount of access, connections need to be established and destroyed frequently, which will consume valuable resources such as the mem

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for reading cache data
  • Method and system for reading cache data
  • Method and system for reading cache data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Embodiments of the present invention: a method for reading cached data, comprising the following steps:

[0029] S1, the user sends a page access request;

[0030] S2, the web server receives the request and determines whether the page involves caching;

[0031] S3, if the page involves caching, the web server sends a request to the proxy server to access the cached data;

[0032] S4, according to the request of the web server, the proxy server establishes a persistent connection with the cache device and accesses data or accesses data through the cache device that has established a persistent connection with the proxy server.

[0033] The step S1 refers to that the user inputs a URL in the browser and sends a viewing request to the webpage.

[0034] The long connection refers to a plurality of data packets that can be sent continuously on a TCP connection. During the maintenance period of the TCP connection, if there is no data packet to send, both parties need to se...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a system for reading cache data. The method for reading cache data comprises the following steps: S1, a user sends out a page access request; S2, a web server receives the request and judges whether the page is involved with cache; S3, if so, the web server sends out a request for accessing cache data to an agency server; and S4, based on the request of the web server, the agency server establishes long connection with cache equipment and accesses the data, or accesses the data by using cache equipment which has established long connection with the agency server. The invention decreases the expense for establishing and destroying the frequent connection of the page program of which the life cycle is ultra short with the remote cache, and raises the access speed. In addition, since long connection is established between the agency service equipment and the cache equipment, the long connection can continue receiving the request and is reusable, thereby improving the communication efficiency. Besides, because of the use of the agency server, the invention saves a part of cache and lowers the cost.

Description

technical field [0001] The invention relates to a method and system for reading cached data, which are used for data processing and updating of websites and belong to the field of network services. Background technique [0002] In large-scale Internet applications, it is often necessary to process a large number of high-concurrency user access requests, which puts relatively high requirements on the performance of the website. The performance of the website directly affects the access speed, thereby affecting the number of visits and user experience, so the importance of implementing high-performance web applications is self-evident. Its performance bottleneck is mainly reflected in high latency, congestion and server load, and caching is one of the most important measures to solve performance problems. [0003] The traditional cache access method is realized by establishing tcp short connection access. When the user sends a request, a connection is established, and the co...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/08G06F17/30
Inventor 熊家贵张矗洪林
Owner BEIJING PEOPLE HAPPY INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products