A container load balancing scheduling method and device

A load balancing and scheduling method technology, applied in the Internet field, can solve problems such as service capability impact and adverse impact on application running quality, and achieve the effect of avoiding running quality.

Active Publication Date: 2020-06-26
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, container technology basically schedules the corresponding container to the appropriate machine based on static data or real-time data when the container is built. When a container runs for a long time, due to changes in actual load, other containers or network The resources of the server are preempted and its service capability is affected, which adversely affects the running quality of the applications it serves

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 container load balancing scheduling method and device
  • A container load balancing scheduling method and device
  • A container load balancing scheduling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] figure 1 It is a flow chart of steps in an embodiment of a container load balancing scheduling method provided by the present invention.

[0040] refer to figure 1 As shown, the load balancing scheduling method provided in this embodiment is applied to a network server, and is used to balance and schedule the loads of multiple containers of an application program running on the network server. The specific load balancing scheduling method includes the following steps:

[0041] S101: Calculate the service capability of the current container of the application program.

[0042] When an application program runs on a corresponding network server, the container technology allocates multiple containers for it to meet its service capability requirements. For ease of description, the container serving the application program is referred to as the current container. In order to be able to evaluate the service capability of the application, it is necessary to calculate the serv...

Embodiment 2

[0059] figure 2 It is a flow chart of steps in another embodiment of a container load balancing scheduling method provided by the present invention.

[0060] refer to figure 2 As shown, the load balancing scheduling method provided in this embodiment is applied to a network server, and is used to balance and schedule the loads of multiple containers of an application program running on the network server. The specific load balancing scheduling method includes the following steps:

[0061] S201: Calculate the service capability of the current container of the application program.

[0062] When an application program runs on a corresponding network server, the container technology allocates multiple current containers for it to meet its service capability requirements. In order to be able to evaluate the service capability of the application, it is necessary to calculate the service capability of each current container. The so-called service capability of the container refer...

Embodiment 3

[0088] image 3 It is a structural block diagram of an embodiment of a container load balancing scheduling device provided by the present invention.

[0089] refer to image 3 As shown, the load balancing scheduling device provided in this embodiment is applied to a network server, and is used to balance and schedule the loads of multiple containers of application programs running on the network server. The specific load balancing scheduling device includes a service capability calculation module 10 , a service weight determining module 20 and a service flow importing module 30.

[0090] The service capability calculation module 10 is used to calculate the service capability of the current container of the application program.

[0091] When an application program runs on a corresponding network server, the container technology allocates multiple containers for it to meet its service capability requirements. , for ease of description, the container that will serve the applic...

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

An embodiment of the invention provides a container load balancing scheduling method and device applied to network servers. The method specifically includes: computing service ability of a current container of an application in the operation process of the application of one network server; determining the service weight of the current container according to the service ability of the current container; imputing service flow to the current container according to the service weight thereof, so as to assure that service weights are different when flow is imported into the containers with different service abilities. Thus, even though the service ability of the current container is influenced due to the fact that resources of other containers or network servers are preempted, the flow imported to the current container is matched with the service ability thereof through load balancing scheduling, and influences on operation quality of applications served by the current container can be avoided.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a container load balancing scheduling method and device. Background technique [0002] Container technology provides an isolated running space for network service provider applications. Specifically, each container contains an exclusive and complete user environment space, and changes in one container will not affect the running environment of other containers; in addition, Containers share the same system kernel, so that when the same library is used by multiple containers, the efficiency of system memory usage will be improved. [0003] At present, container technology basically schedules the corresponding container to the appropriate machine based on static data or real-time data when the container is built. When a container runs for a long time, due to changes in actual load, other containers or network The resources of the server are preempted and its service capabilit...

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 Patents(China)
IPC IPC(8): G06F9/50
CPCG06F9/505
Inventor 吴杰珂赵慰
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD
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