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

Inactive Publication Date: 2017-12-22
北京云端智度科技有限公司
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Under this strategy, if the access of certain files is particularly concentrated, the load on each device in the cluster will be uneven, and the load on the devices corresponding to these files will increase or even fail to provide services.

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 for automatic spreading of hotspot file

Examples

Experimental program
Comparison scheme
Effect test

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...

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 for automatic spreading of a hotspot file. The method is characterized in that hotspot discovery is determined according to two dimensions: the number of requests, and the bandwidth; and as long as a judgment result is positive according to one of the dimensions, discovery of the hotspot file is determined, and load balancing equipment carries out a hotspot spreading action, that is, the load balancing equipment does not execute the consistent hashing strategy when accessing backend cache equipment but randomly selects the cache equipment to be accessed and enables the file to uniformly access each piece of the cache equipment. The method has the advantages of reasonable structure and high convenience in use; and uniform loads on the equipment in a cluster are achieved, so that the loads of the equipment corresponding to the files are enlarged, and the equipment can conveniently provide services at any time.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method for automatic diffusion of hot files. Background technique [0002] With the development of society, the rapid growth of Internet users has led to the vigorous development of the Internet economy. Mobile Internet, e-commerce, online video, brand online advertising, online recruitment, online games, etc. have developed rapidly in a very short period of time and accumulated a large number of users. , has become an integral part of people's lives. [0003] Let people pay more and more attention to the update of Internet technology, and how to share Internet resources better, faster and more conveniently has become a common focus of people. [0004] The full name of CDN is Content Delivery Network, that is, content distribution network. The basic idea is to avoid the bottlenecks and links on the Internet that may affect the speed and stability of data transmission as ...

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 Applications(China)
IPC IPC(8): H04L12/803H04L29/08
CPCH04L47/125H04L67/06H04L67/1044H04L67/1001H04L67/568H04L67/5682
Inventor 赵子毅刘晓光汪志武
Owner 北京云端智度科技有限公司
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