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

Container balanced deployment method and device, electronic equipment and storage medium

A container, balanced technology, applied in the computer field, can solve the problems of server overload, server cannot be fully utilized, affecting service stability and service quality, etc., to achieve the effect of load balancing

Pending Publication Date: 2020-09-15
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For services accessed from upstream, each downstream instance or container is often regarded as having the same service capability. Therefore, the upstream server forwards approximately equal traffic to downstream servers that are considered to have the same service capability, which will cause some servers with better performance to fail. are fully utilized, while other servers with poor performance may be overloaded, seriously affecting service stability and service quality

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
  • Container balanced deployment method and device, electronic equipment and storage medium
  • Container balanced deployment method and device, electronic equipment and storage medium
  • Container balanced deployment method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] figure 1 It is a schematic flow chart of the method for balanced deployment of containers provided in Embodiment 1 of the present application. The method can be executed by a device or electronic device for balanced deployment of containers. The device or electronic device can be implemented by software and / or hardware. The device Or the electronic device can be integrated in any smart device with network communication function. Such as figure 1 As shown, the container balanced deployment method may include the following steps:

[0030] S101. Receive a container deployment instruction; wherein, the container deployment instruction includes requirement information of a service to be deployed.

[0031] Container technology is an important part of cloud technology. In cloud services, if you want to deploy applications or provide services through containers, you first need to determine a target node (single computer) in the cluster (a group of computers) for deploying co...

Embodiment 2

[0040] figure 2 It is a schematic flowchart of the method for balanced deployment of containers provided in Embodiment 2 of the present application. Such as figure 2 As shown, the container balanced deployment method may include the following steps:

[0041] S201. Receive a container deployment instruction; wherein, the container deployment instruction includes requirement information of a service to be deployed.

[0042] S202. Divide the service to be deployed into N units according to the demand information of the service to be deployed; wherein, N is a natural number greater than or equal to 1.

[0043] In a specific embodiment of the present application, the electronic device may divide the service to be deployed into N units to be deployed according to the demand information of the service to be deployed; wherein, N is a natural number greater than or equal to 1. Specifically, the electronic device can first divide the number of instances required by the service to b...

Embodiment 3

[0051] image 3 It is a schematic flowchart of the method for balanced deployment of containers provided in Embodiment 3 of the present application. Such as image 3 As shown, the container balanced deployment method may include the following steps:

[0052] S301. Receive a container deployment instruction; wherein, the container deployment instruction includes requirement information of a service to be deployed.

[0053] S302. Divide the service to be deployed into N units to be deployed according to the demand information of the service to be deployed; wherein, N is a natural number greater than or equal to 1.

[0054] S303. Determine the service node corresponding to each unit to be deployed in the set of service nodes according to the demand information of each unit and the measured value of the actual service capability of each service node for the predetermined resource at the current moment.

[0055] S304. According to the demand value of each unit to be deployed and...

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 container balanced deployment method and device, electronic equipment and a storage medium, and relates to the technical field of containers. The specific scheme includes thesteps: receiving a container deployment instruction, wherein the container deployment instruction comprises demand information of a to-be-deployed service; determining at least one service node corresponding to the to-be-deployed service in a service node set according to the demand information of the to-be-deployed service and a predetermined measurement value of the actual service capability ofeach service node for the predetermined resource at the current moment; and deploying the to-be-deployed service to a container corresponding to each service node in the at least one service node. According to the container balanced deployment method and device, the containers can be deployed in the servers with different performances in a balanced manner, and the loads of the servers with different performances are balanced more effectively, and the problem that the service stability and the service quality are influenced due to container deployment is avoided.

Description

technical field [0001] The present application relates to the field of computer technology, and further relates to container technology, especially a method, device, electronic device and storage medium for balanced deployment of containers. Background technique [0002] At present, microservices and containerization technologies are being applied on a large scale in the industry. For large sites or projects, the entire system is usually split into dozens or even hundreds of small service units (ie microservices), and each service unit deploys several service instances or containers, and these instances Deploy to hundreds to thousands of servers to provide services. When deploying service instances or containers on a large scale, the difficulty often encountered is how to deploy service instances reasonably so that the utilization of these servers in the production environment is as reasonable as possible, fully utilized without being overloaded. [0003] For the server re...

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
IPC IPC(8): G06F9/455H04L29/08
CPCG06F9/45558H04L67/1008G06F2009/4557
Inventor 贾军
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD