Unlock instant, AI-driven research and patent intelligence for your innovation.

Micro-service load balancing optimization method based on dynamic feedback

A load balancing algorithm and load balancing technology, applied in the field of microservice architecture, can solve problems such as insufficient load information and failure to consider real-time server load information.

Inactive Publication Date: 2021-09-10
SOUTHEAST UNIV
View PDF2 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Purpose of the invention: In view of the fact that the current load balancing strategy does not consider the real-time load information of the server or considers that the load information is insufficient, the research proposes a consistent hash microservice load balancing optimization method based on dynamic feedback, fully considering the node processing ability and Real-time load information to achieve a more reasonable and balanced load scheduling strategy and improve the server's load balancing capability

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
  • Micro-service load balancing optimization method based on dynamic feedback
  • Micro-service load balancing optimization method based on dynamic feedback
  • Micro-service load balancing optimization method based on dynamic feedback

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The following will further describe the present invention. The invention includes the following steps:

[0048] Step 1, consistent hashing algorithm to allocate virtual node

[0049]The consistency hash is a dynamic expansion technology used to server clusters, which is widely used due to its good elastic horizontal extensibility. The traditional consistency hash uses a hash function, where Integer.max_Value represents the largest positive integer, ie 2 31 -1, the value obtained by it and the hash function is calculated, ensuring that the final target value falls in the range of [0, 2 31 -1] The hash ring.

[0050] Target = GetHashcode (Request.IPv4) & integer.max_value

[0051] Among them, the GetHashCode () method represents a hash value based on the input parameters; Request.IPv4 represents the IP address of the received request; the target represents the calculated position corresponding to the calculated request on the hash ring. This hash ring is usually 2 31 Compose,...

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 micro-service load balancing optimization method based on dynamic feedback, and the method comprises the following steps: allocating virtual nodes, determining the number of the virtual nodes allocated to each physical node according to the processing performance of each node server, and uniformly distributing the virtual nodes on a hash ring; optimizing a load balancing algorithm, selecting proper indexes and parameters, and calculating the load capacity of each node as a measurement parameter of load balancing; carrying out task scheduling and dynamic adjustment, reasonably distributing tasks, and correcting loads in real time; according to the designed load balancing scheme, carrying out the reasonable load migration when nodes are inserted / deleted. According to the scheme, a micro-service-oriented load balancing optimization algorithm is realized, the problem of service load imbalance caused by service load increase in a micro-service cluster is solved, and the problem of service collapse caused by high load pressure is avoided.

Description

Technical field [0001] The present invention relates to micro-services consistent hashing method based on load balancing optimization dynamic feedback, which belongs to the field of micro-service architecture. Background technique [0002] With the rapid development of Internet technology, increasingly complex business needs, with a micro-services framework developed various systems are becoming increasingly widespread in everyday applications. With the continuous growth of Internet users lead to site traffic explosive growth, Web server overload, congestion, delays and response server crashes and other problems await, server performance has brought great challenges. In order to achieve the best user experience, the most common solution is to cluster technology. When a large number of service requests arrive in the unit time, a single server can not meet the large-scale high concurrent access, so the use of clustering technology to improve concurrency server, and one of the most ...

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): H04L29/08G06F9/50
CPCH04L67/1008G06F9/5083
Inventor 黄杰唐丽徐浩
Owner SOUTHEAST UNIV