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

Resource request method and device for distributed system, equipment and storage medium

A distributed system and resource request technology, applied in the field of distributed systems, can solve problems affecting system efficiency and low resource utilization, and achieve the effects of improving system efficiency, avoiding deadlocks, and improving resource utilization

Pending Publication Date: 2020-04-21
北京云宽志业网络技术有限公司
View PDF1 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, these methods require a large amount of resource reservation, and the resource utilization rate is low, which affects the system 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
  • Resource request method and device for distributed system, equipment and storage medium
  • Resource request method and device for distributed system, equipment and storage medium
  • Resource request method and device for distributed system, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0113] Example 1. Step S201 includes:

[0114] Calculate the resource quota that can be reclaimed from each requester according to the allocated resource quota and the preset recovery ratio of each of the multiple requesters to obtain the total resource quota that can be recovered from multiple requesters .

[0115] In this example, resource quotas are reclaimed proportionally. In this way, the requester can reserve a resource quota proportional to the previously allocated resource quota. When there is no pressure on the resource requirements of the requesting end, that is, when the first difference is a negative value or 0, the reserved quota may be all resource quotas of the requesting end. That is to say, the reserved quota of a requester can be the minimum value of the resource quota that the requester can obtain during the global quota reallocation process. The requester can at least reserve a resource quota proportional to the previously allocated quota, so that the r...

example 2

[0116] Example 2, step S201 includes:

[0117] calculating a second difference between the allocated resource quota of each of the plurality of requesters and the preset reserved quota;

[0118] The sum of the second differences corresponding to the multiple requesting ends is calculated to obtain the total amount of resource quotas that can be recovered from the multiple requesting ends.

[0119] In this example, the reserved quota of each requester is preset, and each requester can hold at least the same resource quota.

example 3

[0121] The resource quota that can be reclaimed from each of the multiple requesters is equal.

[0122] In this example, the resource quotas that can be recovered from each requesting end are equal, and each requesting end returns the resource quotas in equal amounts.

[0123] Step S202, according to the total amount of resource quotas and the first difference corresponding to each of the multiple requesters, respectively calculate the resource quota to be allocated for each requester, and there may also be multiple exemplary implementation methods:

[0124] Example 1, step S202 includes:

[0125] calculating the sum of the first differences corresponding to multiple requesting ends;

[0126] According to the ratio between the first difference corresponding to each of the multiple requesting ends and the sum of the first differences, and the total amount of resource quotas, the resource quota to be allocated for each requesting end is calculated.

[0127] In this example, 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 provides a resource request method and device for a distributed system, equipment and a storage medium. The resource allocation method of the distributed system comprises the following steps: allocating resource quotas to a plurality of request ends in the distributed system; receiving resource request information sent by a first request end in the plurality of request ends; according to the resource request information, obtaining the resource request amount of the first request end, wherein the resource request quantity is the resource demand quantity under the condition that the resource demand quantity of the first request end is smaller than or equal to the resource quota corresponding to the first request end, and the resource request quantity is the resource quota underthe condition that the resource demand quantity of the first request end is greater than the resource quota corresponding to the first request end; providing resources of the resource request quantity for the first request end, and obtaining a first difference between the resource demand quantity of the first request end and the corresponding resource quota; and reallocating resource quotas to the plurality of request ends according to the first difference. The resource utilization rate and the system efficiency can be improved.

Description

technical field [0001] The present application relates to a distributed system, and in particular to a resource request method, device, device and storage medium of a distributed system. Background technique [0002] With the technological changes brought about by cloud computing, virtualization technology, container technology, and microservices, distributed systems are widely used in various industries and fields. With the popularization of the application of distributed systems, the different resources required by each specific application system are faced with quality control problems at their own levels. These problems are caused by the service of controlling resources from a single node to a distributed multiple Nodes create many new challenges, the biggest of which is the distributed deadlock problem. In a distributed environment, due to the existence of influencing factors such as the uncertainty of communication delays, geographical distribution, and high sharing o...

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/50
CPCG06F9/5011G06F9/5022G06F9/5027G06F9/5066
Inventor 高华龙
Owner 北京云宽志业网络技术有限公司