Web Cache Replacement Method Based on Access Density

A technology for access density and cache replacement, applied in memory systems, instruments, electrical digital data processing, etc., can solve problems such as low cache hit rate and low cache byte hit rate

Active Publication Date: 2016-04-06
BEIJING TOPSEC NETWORK SECURITY TECH +2
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention is to solve the problem of low cache hit rate involved in the current LRU replacement method and LFU replacement method and the low cache byte hit rate problem involved in the GDSF replacement method, and provides a web cache replacement method based on access density

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
  • Web Cache Replacement Method Based on Access Density
  • Web Cache Replacement Method Based on Access Density
  • Web Cache Replacement Method Based on Access Density

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach 1

[0032] Specific embodiment one: the access density-based web cache replacement method of this embodiment is implemented in the following steps:

[0033] (1) Whether the cache object already exists in the cache pool, otherwise jump into step (2), if yes, jump into step (5);

[0034] (2) Whether the buffer pool is full, jump to step (3) if it is full, and jump to step (4) if not;

[0035] (3) Delete the cache object with the lowest access density value, add the new cache object to the cache pool, initialize the access density, last access location, access frequency, and average access interval of the cache object, and jump into step (10);

[0036] (4) Add the new cache object to the cache pool, initialize the access density of the cache object, the last access location, the frequency of access, the average access interval, and jump into step (10);

[0037] (5) Already exists in the cache pool, calculate the current access interval;

[0038] (6) Whether it is the second visit, ...

specific Embodiment approach 2

[0048] Embodiment 2: This embodiment differs from Embodiment 1 in that: the access interval in step (3) is the difference between the number of cache accesses between the cache object hit this time and the cache object hit last time. Other steps and parameters are the same as those in Embodiment 1.

specific Embodiment approach 3

[0049] Embodiment 3: The difference between this embodiment and Embodiment 1 or 2 is that the access density in step (3) is the ratio of the number of cached object accesses to the total number of cached accesses within a period of time. Other steps and parameters are the same as those in Embodiment 1 or Embodiment 2.

[0050] Verify the beneficial effects of the present invention by the following examples:

[0051] 1. First analyze the life cycle of the cache object in the cache space;

[0052] 2. Secondly, analyze the behavior of web access and the distribution of URLs: study the distribution characteristics of web requests, and extract 427,936 user requests from the network logs of the campus gateway for three consecutive days, including 167,981 different URLs;

[0053] 3. Finally, according to the change trend of the cached objects, it is found that the replacement algorithm using density has better predictive ability: due to the locality of LRU and the cache pollution pr...

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 relates to a web cache replacement method based on access density. The web cache replacement method resolves the problems that existing least recently used (LRU) has locality, least frequently used (LFU) has cache pollution, and the hit rate is low. The web cache replacement method based on the access density includes judging whether cache objects exist in a memory pool; judging whether the memory pool is full; initializing multiply; deleting the cache object having the lowest density, and enabling newly increased cache objects to be added to the memory pool; calculating current access intervals; judging whether second access is conducted; calculating the access density; calculating the access density according to formulas, and updating even access intervals; updating relative values; and exiting. The web cache replacement method is applied to the field of internet storage.

Description

technical field [0001] The invention relates to a web cache replacement method. Background technique [0002] With the diversified development of Web data, the distribution of web content has gradually become a key factor affecting the performance of Web services. The current mainstream data distribution mechanism is to use content distribution network technology to redirect user requests to the nearest server, thereby reducing access delay and source server load pressure. In order to effectively improve service quality, CDN providers deploy content proxy servers at multiple network boundaries. For example, Akamai has deployed more than 25,000 content servers in more than 1,000 networks in more than 70 countries and regions. At present, the content distribution network usually focuses on the selection of proxy server deployment location and content routing mechanism, but the efficiency of cache is a key factor affecting the performance of content distribution. Aiming at t...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F12/123G06F12/122
Inventor 何慧李乔张伟哲刘亚维王健王冬
Owner BEIJING TOPSEC NETWORK SECURITY 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