API Gateway automatic scaling method and device

An automatic scaling and self-defining technology, applied in the field of communication, can solve the problems of waste of resources, large delay, unsatisfactory service level, etc., to achieve the effect of efficient utilization, performance and stability.

Active Publication Date: 2018-12-21
BEIJING UNIV OF POSTS & TELECOMM
View PDF9 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, a virtual machine is a way to virtualize hardware. Compared with Linux Container-based Docker container technology, virtualization technology is more cumbersome and wastes resources.
At the same time, dynamic scaling based on virtual machines will have a greater delay, resulting in the system's service level failing to meet the SLA (Service-Level Agreement, Service Level Agreement) agreement

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
  • API Gateway automatic scaling method and device
  • API Gateway automatic scaling method and device
  • API Gateway automatic scaling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0035] The following describes the API Gateway automatic scaling method and device according to the embodiments of the present invention with reference to the accompanying drawings. First, the API Gateway automatic scaling device according to the embodiments of the present invention will be described with reference to the accompanying drawings.

[0036] figure 1 It is a schematic structural diagram of an API Gateway automatic scaling device according to an embodiment of the present invention.

[0037] like figure 1 As shown, th...

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 an API Gateway automatic scaling method and a device under a micro service architecture. The device comprises an API gateway cluster, which is used for defining corresponding monitoring indexes according to the protocol level of a service level agreement SLA, and providing a user-defined monitoring index, a resource collection system which is used for collecting system dataand data of user-defined monitoring indicators, and combining the system data and data of user-defined monitoring indicators to obtain application resource monitoring data; a horizontal expansion controller, configured to receive application resource monitoring data in a first preset time, compare the application resource monitoring data with a preset resource use threshold, and obtain the numberof target service instances according to an automatic scaling algorithm; and a scaling controller which is adapted to adjust the number of service instances according to the target so as to maintainthe number of service instances to reach the target value. The device can realize the efficient utilization of resources and guarantee the performance and stability of the service.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a method and device for automatically scaling an API Gateway. Background technique [0002] Microservice architecture is a new software architecture pattern. Microservices divide complex systems into dozens or even hundreds of individual small services. Each service is responsible for implementing a single logic. Each small service deployment is deployed separately in different processes. Different service communication realizes interaction through some lightweight interaction mechanisms, such as RPC (Remote Procedure Call, remote procedure call), HTTP (HyperText Transfer Protocol, hypertext transfer protocol) and so on. Each service can be scaled independently. Each service boundary is clearly defined, and different services can be implemented using different technology stacks and maintained by independent teams. [0003] The traditional microservice model use...

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/54
CPCH04L67/02G06F9/54H04L67/51
Inventor 鄂海红宋美娜张城城刘清洋
Owner BEIJING UNIV OF POSTS & TELECOMM
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