Control method and device for real-time task calculation, server and storage medium
A technology of real-time tasks and control methods, applied in the field of big data processing, can solve problems such as low efficiency, waste of development resources and hardware resources, and long demand online cycle, and achieve the effect of saving labor costs and improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] figure 1 It is a flow chart of a control method for real-time task computing provided by Embodiment 1 of the present invention. The method can be executed by the server provided in the embodiment of the present invention. The server can be implemented by software and / or hardware. The method specifically includes the following step:
[0030] S110. Acquire the information of the data source, the information of the data source is input by executing the first page configuration, and the information of the data source includes the data type and the first storage location of the data to be processed.
[0031] In this embodiment, Kafka is a distributed data flow platform that can run on a single server, or can be deployed on multiple servers to form a cluster. It provides publish and subscribe functions, users can send data to Kafka, and can also read data from Kafka (for subsequent processing). Kafka has the characteristics of high throughput, low latency, and high fault to...
Embodiment 2
[0051] figure 2 It is a flow chart of another real-time task computing control method provided by Embodiment 2 of the present invention, see figure 2 , the method further includes the following steps:
[0052] S210. Obtain computing resources of the same real-time task, where the computing resources are CPU and memory resources of one or more computers in the cluster system.
[0053] In this embodiment, based on the page configuration, the server collects the computing resources of the same real-time task. After the business personnel create a real-time task, the auditor configures the corresponding computing resources on the audit page for the amount of information of the real-time task. Resources, computing resources include computer resources needed to execute the real-time task, such as CPU, memory resources, etc. It should be noted that, in order to make the review effect better, the role of configuring data source information, calculation result storage information, ...
Embodiment 3
[0061] image 3 It is a flow chart of another real-time task computing control method provided by Embodiment 3 of the present invention, see image 3 , the method further includes the following steps:
[0062] S310. When a modification instruction based on a real-time task is received, acquire the data source information, calculation result storage information and calculation logic of the real-time task after modification;
[0063] S320. Package the obtained modified data source information, calculation result storage information and verification available calculation logic into an executable file, and send the executable file to the cluster system for execution.
[0064] The technical solution of this embodiment is based on the above embodiment. If there is a change in the subsequent requirements, it is not necessary to modify the code or re-develop the software. It is only necessary to query the real-time task corresponding to the requirement, and modify the real-time task ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


