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

Load flow distribution method, device and computer equipment for virtual machines and containers

A traffic distribution and virtual machine technology, applied in the computer field, can solve problems such as high manual management costs and complex service configuration

Active Publication Date: 2021-10-08
易纳购科技(北京)有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present application provides a method, device and computer equipment for load traffic distribution of virtual machines and containers, which can be used to solve the problem of using load balancers to implement scheduling, resulting in high complexity of service configuration and high manual management costs. big technical problem

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
  • Load flow distribution method, device and computer equipment for virtual machines and containers
  • Load flow distribution method, device and computer equipment for virtual machines and containers
  • Load flow distribution method, device and computer equipment for virtual machines and containers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Hereinafter, the present application will be described in detail with reference to the accompanying drawings and embodiments. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0025] Aiming at the technical problem of high complexity of service configuration and high cost of manual management caused by the current method of scheduling using a load balancer, this application provides a load traffic distribution method for virtual machines and containers, such as figure 1 As shown, the method includes:

[0026] 101. Bind the Kong gateway to the backend of the load balancer to receive traffic service requests forwarded by the load balancer.

[0027] Among them, Kong Gateway is a highly available and easily scalable API Gateway project written by Mashape based on OpenResty (Nginx + Lua module). The Kong gateway can provide an easy-to-use RESTful API to oper...

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 present application discloses a load flow distribution method, device and computer equipment for a virtual machine and a container, and relates to the field of computer technology. The method includes: binding the Kong gateway to the backend of a load balancer to receive traffic forwarded by the load balancer Service request; if the Kong gateway receives the traffic service request of the target service, it will extract the target virtual machine node and / or target container node that matches the domain name of the target website corresponding to the traffic service request from the load node bound to the backend. The load node is After Kong ingress retrieves the target mixed-running service that matches the domain name of the target website based on the first correspondence, it obtains the second corresponding relationship based on the target mixed-running service and configures it on the backend load of the Kong gateway; using Kong The gateway distributes the load traffic of the target service to the target virtual machine node and / or the target container node based on the dynamically adjusted preset traffic distribution weight rules. This application is applicable to load balancing scheduling between virtual machines and containers.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a load flow distribution method, device and computer equipment for virtual machines and containers. Background technique [0002] With the popularity of container technology, more and more developers choose to deploy applications to run in containers. For a large number of applications that existed before container technology became popular, how to safely migrate from virtual machines to container environments and minimize the impact on online users is a difficult problem for developers. [0003] One method commonly used at present is to mount the node where the Kong gateway is located and the virtual machine node together to the backend of the general load balancer, and allocate a small part of the traffic to the application running in the container by configuring the weight, so as to achieve gray Another method is to set the service type to loadbalancer and dir...

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/455G06F9/50
CPCG06F9/45558G06F9/5077G06F2009/45562G06F2009/4557G06F2009/45587G06F2009/45595
Inventor 陈硕实
Owner 易纳购科技(北京)有限公司