Method for automatic spreading of hotspot file
A technology of hotspot files and hotspots, applied in the Internet field, can solve problems such as uneven load, increased equipment load, and inability to provide services, and achieve the effects of uniform load, reasonable structure, and convenient use
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] When judging the dimension of the number of requests, the load balancing layer maintains the number of requests for each back-end cache device and the number of visits to each url (all urls will build a red-black tree (or other data structure) based on the access count value to obtain the maximum The url) of the access count, the data is periodically cleared. The discovery steps are as follows:
[0024] Q1: Each time the load balancing layer receives a request, it selects a cache device through a consistent hash strategy, increases the number of requests for the cache device, and increases the number of visits to the url;
[0025] Q2: Judging whether there is a hotspot, that is, the load balancing layer judges whether the request count value of a cache device exceeds the product of the average value of all devices and a hotspot coefficient. If it exceeds, it is considered that the cache device has a hotspot.
[0026] Q3: The load balancing layer looks for the URL with ...
Embodiment 2
[0031] When judging the bandwidth dimension, the load balancing layer maintains the bandwidth number of each back-end cache device and the bandwidth number of each url (all urls will build a red-black tree (or other data structure) with the bandwidth number value to obtain the maximum The url) of the bandwidth count, the data is periodically cleared. The discovery steps are as follows:
[0032] Q1: Each time the load balancing layer receives a request, it selects a cache device through the consistent hash strategy, increases the bandwidth count of the cache device, and increases the access bandwidth count of the url;
[0033] Q2: Judging whether there is a hotspot, that is, the load balancing layer judges whether the bandwidth count value of the cache device exceeds the product of the average value of all devices and a hotspot coefficient. If it exceeds, it is considered that the cache device has a hotspot.
[0034] Q3: The load balancing layer searches for the url with the l...
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