Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A multi-tenant request processing method, device and equipment

A request processing and multi-tenant technology, applied in the computer field, can solve the problem of low efficiency of request scheduling

Active Publication Date: 2020-03-10
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0021] The purpose of the present invention is to provide a multi-tenant request processing method, device and equipment to solve the problem of low request scheduling efficiency

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 multi-tenant request processing method, device and equipment
  • A multi-tenant request processing method, device and equipment
  • A multi-tenant request processing method, device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0172] refer to Figure 6 As shown, the buffer manager provided by the embodiment of the present invention for a specific processing process of a new request:

[0173] S601: Receive a new request.

[0174] S602: Analyze the new request, and determine the resource requirement of the new request, the tenant ID corresponding to the new request, and the resource requirement of the first request waiting queue corresponding to the tenant.

[0175] S603: Determine whether the new request is smaller than a preset threshold, if so, execute S604, otherwise, execute S606.

[0176] S604: Determine whether the sum of the resource needs of the first request waiting queue corresponding to the tenant is greater than or equal to the second threshold, if so, perform S605, otherwise, perform S606.

[0177] S605: Put the new request into the second request waiting queue corresponding to the tenant in the buffer, and continue to execute S607.

[0178] S606: Put the new request into the first re...

Embodiment 2

[0202] Embodiment 2 is the processing procedure of the request scheduler for the request for bundling using the first bundling identifier.

[0203] Wherein, the first bundle identifier is used to indicate that the request added with the first bundle identifier and the next request adjacent to the request added with the first bundle identifier belong to the same request group.

[0204] Table 2

[0205] parameter name set value second threshold 5 seconds preset threshold 5 milliseconds binding threshold 5 milliseconds first threshold 3 seconds

[0206] Refer to Table 2 for parameter values ​​of various thresholds or thresholds. Suppose the buffer manager receives a request R t , parsing the request R t , determine that the tenant ID corresponding to the request is "A", and the request type is "GET". According to Table 3, the resource requirement of the request type "GET" is 1 millisecond, which is less than the preset threshold of 5...

Embodiment 3

[0220] Embodiment 3 is a processing procedure of the request scheduler for binding requests using the second binding identifier.

[0221] Wherein, the second bundle identifier is used to indicate that the request added with the second bundle identifier and the previous request adjacent to the request added with the second bundle identifier belong to the same request group.

[0222] The parameters in Table 2 are still used here. refer to Figure 10 As shown, the buffer manager will R t After being put into the second request waiting queue of tenant A in the buffer, it is determined that the second request waiting queue also includes: {R t-1 , R t-2 , R t-3 , R t-4}.

[0223] The buffer manager further determines that the second request is waiting in the queue except R t The latest request to arrive outside R t-1 , and to determine R t-1 The request group you are in is the request group to be added {R t-1 , R t-2}. Specifically, the buffer manager determines that R ...

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 relates to the technical field of computers, in particular to a multi-tenant request processing method, device and equipment, which are used for solving the problem that the request scheduling efficiency is low. The multi-tenant request processing method includes: a request scheduler determines a target request of a target tenant according to the last processed request while receiving an idle resource prompt information sent by a processing node; and if the request scheduler determines that the processed request and the target request belongs to the same request group, the request scheduler sends the target request to the processing node. Continuous processing of a request for a plurality of low resource demands, of the same user can be achieved, signaling overheads of request scheduling can be reduced, frequent scheduling in short time can be avoided, and the efficiency of request scheduling can be improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a multi-tenant request processing method, device and equipment. Background technique [0002] Software as a Service (Software as a Service, SaaS) is a software delivery model. In this delivery model, the cloud centrally hosts the software and its related data, and users only need to use the software through the Internet without installing it. [0003] SaaS usually has two technical implementations: "single-tenant SaaS" and "multi-tenant SaaS". Wherein, the tenant here refers to a SaaS customer, and a tenant usually corresponds to an organization, such as a company, a school, and the like. [0004] 1. Single-tenant SaaS [0005] The architecture of single-tenant SaaS is shown in Figure 1(a). Each tenant creates its own software application and supporting environment independently. Single-tenant SaaS is widely used in scenarios where tenants need to support customizat...

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/48
CPCG06F9/4843
Inventor 倪伟渊张园园石腾徐谦
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products