Resource allocation method and device, and electronic equipment

A technology of resource allocation and resource quantity, applied in the direction of resource allocation, multi-programming device, program control design, etc., can solve the problems of long time consumption, low business operation performance, excess resources, etc., to avoid operation interruption or speed reduction, business operation. Stable performance and improved resource utilization

Active Publication Date: 2020-06-09
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF6 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if you define a relatively loose resource pre-allocation scheme and use this resource pre-allocation scheme for all ETL services, then for ETL services with small business volumes, there will be excess resources, resulting in low utilization of cluster resources
For the ETL business with a large business volume, there will be insufficient resources, resulting in low performance and long time-consuming business operation
[0004] Therefore, none of the existing resource allocation schemes can allocate an appropriate amount of resources to run the ETL business

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 allocation method and device, and electronic equipment
  • Resource allocation method and device, and electronic equipment
  • Resource allocation method and device, and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0130] In one embodiment, the method also includes:

[0131] Step S105: If the difference is smaller than the first threshold, obtain the second amount of resources.

[0132] In an example, if the difference between the operating data of the current cycle and the operating data of the historical cycle of the upstream business of the target business is less than the first threshold, and the target business has not been updated in the current cycle, the second resource amount is allocated Run the target business. Wherein, the first threshold may take a value range greater than or equal to 30%.

[0133] In this embodiment, if there is no significant change in the data volume of the upstream business in the current cycle, and the target business is not updated in the current cycle, the second amount of resources is allocated to run the target business, ensuring that there is an appropriate amount of resources to run the target business, improving the adaptability and accuracy of...

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 a resource allocation method and device, and electronic equipment, and relates to the field of resource allocation. The method comprises the steps of obtaining the resource quantity of a target service in a current period according to operation data of the target service in a historical period and operation data of an upstream service in the current period, and the target service and the upstream service have a data dependence relationship; operating the target service by using the resource quantity in the current period, and monitoring the change of the operation dataof the target service in each actuator; and adjusting the resource quantity of the target service and/or the data distribution of the target service in each actuator in real time according to the change of the operation data of the target service in each actuator. And the resource utilization rate of the cluster is improved, so that the service operation performance is relatively stable and configurable. Even if the underlying environment changes, the service operation performance can be kept relatively stable by automatically increasing or decreasing the resource quantity. Meanwhile, the service operation performance can be configured by adjusting configuration parameters of the service operation performance.

Description

technical field [0001] This application relates to the technical field of big data business, especially to the field of resource allocation. Background technique [0002] With the continuous development and application of Internet technology, massive amounts of data and various data computing engines have been generated. The data calculation engine is a component used to perform calculations on data. In order to extract valuable data from massive data, it is necessary to develop a large number of data ETL (Extract-Transform-Load) services, and run these ETL services online according to a certain period. Among them, ETL is used to describe the process of extracting, transforming, and loading data from a data source to a target data source. [0003] As a popular big data solution, Spark has many excellent features. Include data calculation engine in Spark. The resource allocation scheme generally adopted by the existing Spark business, the resource amount used to run the b...

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): G06F9/50G06F16/25
CPCG06F9/5016G06F16/254Y02D10/00
Inventor 邱峰志李辉
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
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