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

Allocation method and device for resource pool

An allocation method and resource allocation technology, applied in network traffic/resource management, digital transmission systems, data exchange networks, etc., can solve problems such as idle resources, decreased overall utilization of resource pools, and fierce resource competition, etc., to improve resource utilization rate effect

Active Publication Date: 2015-05-27
阿里巴巴(中国)网络技术有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the inventor found in the research that because the resource pool is logically split into several sub-resource pools, and different businesses use different sub-resource pools, sometimes there will be fierce competition for resources in some sub-resource pools, while at the same time , the resources in other sub-resource pools are idle for a long time, resulting in a decrease in the overall utilization of the resource pool

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
  • Allocation method and device for resource pool
  • Allocation method and device for resource pool
  • Allocation method and device for resource pool

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0020] see figure 2 , which is a flowchart of an embodiment of a method for allocating resource pools in this application, including the following steps:

[0021] Step 201: Obtain the current service request;

[0022] In the technical solution of the present application, the current service request can come from either an application or a message queue. No matter where it comes from, resources are allocated to the current service request through the resource pool allocation method of this application. Among them, if it comes from the application, the resource allocation request message sent by the application to the total resource pool indicates one or more service requests; if it comes from the message queue, the events waiting in the message queue indicate one or more service requests .

[0023] Therefore, the obtaining the current service request includes: receiving a resource allocation request message sent by an application, wherein the resource allocation request mes...

Embodiment 2

[0054] The allocation method of the total resource pool is described in detail below in combination with the allocation scenario of the total resource pool. see image 3 , which is a schematic diagram of a method for allocating resource pools for service requests in this application, including the following steps:

[0055] Step 301: the application sends a resource allocation request message to the total resource pool;

[0056] Wherein, in the technical solution of the present application, the total resource pool is not logically divided into sub-resource pools, and the application sends a resource allocation request message to the total resource pool. The identifier of the service request is included in the resource allocation request message.

[0057] Step 302: The total resource pool allocates resources for the service request indicated by the resource allocation request message according to the type of service request in the resource allocation request message;

[0058]...

Embodiment 3

[0075] Corresponding to a resource pool allocation method, an embodiment of the present application also provides a resource pool allocation device. see Figure 4 , which is a structural diagram of an embodiment of an apparatus for allocating a resource pool in the present application. The device includes: an obtaining module 401 , a judging module 402 and an allocating module 403 .

[0076] Obtaining module 401, configured to obtain the current service request;

[0077] Judging module 402, configured to judge the type of the current service request, wherein the allocation type of each service request is pre-specified, and the allocation type includes reserved type, default type or maximum limit type;

[0078] The allocation module 403 is configured to allocate the required amount of resources for the current service request from the public resources and / or private resources in the total resource pool if the determination result of the determination module is reserved type, ...

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 embodiment of the application discloses an allocation method and device for a resource pool, wherein the allocation method comprises the following steps: acquiring a current business request; judging the allocation type of the current business request; if the allocation type is reserved type, allocating the required quantity of resources for the current business request from public resources and / or private resources of the total resource pool; if the allocation type is default type, allocating the required quantity of resources for the current business request from the public resources of the total resource pool; and if the allocation type is maximum limit type, allocating the resources which do not exceed the maximum threshold quantity for the current business request from the public resources of the total resource pool. According to the embodiment of the application, the utilization rate of the resource pool can be improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a resource pool allocation method and device. Background technique [0002] At present, resource pool technologies, such as thread pools or database connection pools, are introduced into many system designs. By caching resources in the resource pool, not only can resources be allocated quickly, but also the size of the resource pool can be limited to ensure that the resources of the system as a whole do not exceed the load capacity. [0003] Such as figure 1 It is a flowchart of a method for allocating resource pools for various service requests in the prior art. Further, the resource pool is logically split, and a sub-resource pool of a certain size is allocated for each type of business request. For example, when sub-resource pool 1 is allocated for class A service request, the application sends a message requesting resource allocation to sub-resource pool 1 for ...

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): H04L12/70H04W28/26H04W72/04
Inventor 岑文初
Owner 阿里巴巴(中国)网络技术有限公司
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