A shunting method, shunting device, electronic equipment and readable storage medium

A traffic and packet switching technology, applied in the computer field, can solve the problems of inability to dynamically adjust groups, inability to rationally schedule resources and resources, and waste of container resources.

Active Publication Date: 2021-05-25
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (1) You can only manually adjust the number of instances in each group
[0006] (2) A lot of container resources are wasted. For services with a small number of requests (such as testing or other small requests at a certain time), the grouping cannot be dynamically adjusted, and resource scheduling cannot be reasonably performed.

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
  • A shunting method, shunting device, electronic equipment and readable storage medium
  • A shunting method, shunting device, electronic equipment and readable storage medium
  • A shunting method, shunting device, electronic equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0041] In the embodiment of the present invention, the previous distribution method is improved, and a solution for dynamically adjusting the number of instances in a group is realized. Embodiments of the present invention support multiple grouping implementations, such as HTTP, Dubbo services and similar distributed services. It can dynamically and intelligently monitor ...

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

Embodiments of the present invention provide a distribution method, a distribution device, electronic equipment, and a readable storage medium, which can automatically adjust the number of instances of flow nodes in each group, make full use of container resources, and adapt to the impact of traffic in each group; provide a dynamic test group, After test verification, the test group instances can be dynamically switched to other groups to make full use of container resources. A distribution method according to an embodiment of the present invention includes: collecting the distribution information of each group distribution node instance, performing summary analysis to obtain the flow information of each group; judging whether the flow of each group is balanced, and when the flow of each group is unbalanced, according to the flow and The number of instances in each group obtains the number of instances and the imbalance of the group to count the number of instances that need to switch groups and determine the instances that need to switch groups; according to the number of instances that need to switch groups and the instances that need to switch groups, the instances of each group Group switching.

Description

technical field [0001] The invention relates to the field of computers, in particular to a distribution method, a distribution device, electronic equipment and a readable storage medium. Background technique [0002] Under the development of distributed services, the same service is divided into different business groups due to different resources, data, and application scenarios, and different containers are physically separated. However, in the scheduling process, due to the difference in the number of calls in each scenario, the usage rate of containers varies from scenario to scenario, and most of the containers in the test group are reserved for testing and verification before going online, which wastes a lot of containers. [0003] The basic scheme of existing distribution is: start distribution control from the entrance, and then all business nodes in each group are connected to the framework of distributed services, and the number of instances allocated to each group...

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 & AuthorityPatents(China)
IPC IPC(8): H04L29/08H04L12/24H04L12/26G06F9/54
CPCH04L41/0893H04L41/22H04L43/0876H04L43/16H04L43/50H04L67/10H04L67/1029H04L67/1031G06F9/547H04L67/133
Inventor赵紫星汤鹏飞王远斌白铖彭明超
OwnerBEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD