Streaming calculation method and device, equipment and storage medium
A technology of streaming computing and computing tasks, applied in the computer field, can solve problems such as data asynchronousness of multiple real-time data sources, and achieve the effect of solving data asynchronous problems and high accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] figure 1 It is a flow chart of a streaming computing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of performing correlation calculation on real-time data from multiple real-time data sources. The method can be executed by a streaming computing device, and the device can be realized by software and / or hardware. see figure 1 , the streaming computing method provided by the embodiment of this application includes:
[0036] Start at least one worker process for the pending target streaming computing task.
[0037] Wherein, the target stream computing task is a stream computing task to be processed. A worker process refers to a process that processes target streaming computing tasks. A process is a running activity of a program in a computer on a certain data set, and is the basic unit for resource allocation and scheduling by the system
[0038] Controlling the at least one working process to compete on zooke...
Embodiment 2
[0053] figure 2 It is a flow chart of a streaming computing method provided in Embodiment 2 of the present invention. This embodiment is based on the above embodiment, in order to solve the problem that after the process associated with the worker node is closed, the worker node has not successfully processed the delay queue takeover problem, the control of all work processes including the leader process in After registering as a worker node of the target streaming computing task on the leader management directory, the method further includes:
[0054] The leader node regularly checks whether all delay queues are managed by worker nodes;
[0055] If it is detected that there is no worker node processing in the target delay queue, then continue to check whether the target delay queue is empty;
[0056] If the target delay queue is empty, then clear the delay queue; otherwise, select a worker node to take over according to the load of the current worker node, and send a takeo...
Embodiment 3
[0067] image 3 It is a flow chart of a streaming computing method provided by Embodiment 3 of the present invention. This embodiment is based on the above embodiments, in order to solve the resource pressure problem caused by the excessively long delay queue on zookeeper, the control of all work processes including the leader process is registered on the leader management directory as After the worker node of the target streaming computing task, the method also includes:
[0068] The leader node checks the last modification time of each delay queue. If the last modification time of the queue exceeds the configured time threshold, it checks whether the queue is taken over by a worker node;
[0069] If there is no worker node management, the leader node cleans up the queue;
[0070] If there is a worker node management, the leader node issues a cleanup request for the queue, and the worker node associated with the queue accepts the request and is responsible for checking whet...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



