Web cache replacement method based on access density
A technology of access density and cache replacement, applied in memory systems, memory address/allocation/relocation, instruments, etc., can solve the problems of LFU cache pollution and low hit rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment approach 1
[0031] Specific embodiment one: the access density-based web cache replacement method of this embodiment is implemented in the following steps:
[0032] (1) Whether the cache object already exists in the cache pool, otherwise jump into step (2), if yes, jump into step (5);
[0033] (2) Whether the buffer pool is full, jump to step (3) if it is full, and jump to step (4) if not;
[0034] (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);
[0035] (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);
[0036] (5) Already exists in the cache pool, calculate the current access interval;
[0037] (6) Whether it is the second visit, ...
specific Embodiment approach 2
[0047] 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
[0048] 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.
[0049] Verify the beneficial effects of the present invention by the following examples:
[0050] 1. First analyze the life cycle of the cache object in the cache space;
[0051] 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;
[0052] 3. Finally, according to the changing trend of the cached object’s popularity, it is found that the replacement algorithm using density has better predictive ability: due to the locality of LRU and the cach...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com