Multi-Queue Streaming Record Delay Mechanism
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing computing systems are unable to effectively integrate with content streams and fail to account for business requirements that necessitate delays in processing streaming records, leading to inaccurate assessments of marketing campaigns and insufficient time for user interaction.
Innovation Solution
The system utilizes multi-queue technology to delay processing of streaming records by receiving records associated with events, placing them in a delay queue with a timestamp, triggering a second function to determine if the current time exceeds the delay timestamp, and requeuing or processing the records accordingly.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If content is processed as it arrives to the computing system, then processing speed and productivity are improved, but the system cannot account for business requirements that necessitate delays in processing
Solution Approach 1:
The patent segments the processing stream into multiple queues (immediate queue and delay queue) based on event types. Different event types are routed to different queues, allowing immediate processing for some events while delaying others according to business requirements. This segmentation resolves the contradiction by enabling both fast processing and delay accommodation simultaneously.
Solution Approach 2:
The patent implements dynamic scheduling where the system can adaptively determine when to process records based on delay timestamps and current time comparisons. The scheduler dynamically moves records between queues and adjusts processing timing based on business rules, allowing the system to maintain high productivity while accommodating varying delay requirements.
2Adaptability or versatility
If existing schedulers are used to process content on a schedule, then delay requirements can be met, but the systems are incapable of being integrated with content streams
Solution Approach 1:
The patent merges the scheduler functionality with the content stream processing architecture by integrating delay queue mechanisms directly into the stream handler. The scheduler is no longer a separate external system but is combined with the stream processing components, allowing scheduled processing to be achieved without increasing integration complexity.
Solution Approach 2:
The patent introduces delay queues as intermediary components between the content stream and the processing logic. These queues act as mediators that buffer records temporarily, allowing the system to maintain stream integration while implementing scheduled processing. The intermediary queues resolve the conflict between stream integration and scheduling by providing a buffer layer.
3Loss of time
If streaming records are processed immediately, then processing time is minimized, but accurate determination of marketing campaign effectiveness cannot be achieved due to insufficient user interaction time
Solution Approach 1:
The patent applies preliminary action by setting delay timestamps on records before they enter the processing queue. This preliminary timing mechanism ensures that records are held until sufficient time has elapsed since the associated marketing campaign, allowing users to interact with the campaign before processing occurs. This resolves the contradiction by preparing the timing logic in advance while maintaining efficient processing.
Data Source
AI summary
In certain embodiments, a system and accompanying method to delay processing of streaming content by utilizing multi-queue technology is provided. In particular, the system receives, at a first function, a streaming record associated with an event. The first function places the streaming record into a delay queue with a delay timestamp according to the type of the event associated with the streaming record. Operation of a second function is triggered and the second function determines if a current time is greater than the delay for a delay timestamp for the streaming record. The second function requeues the streaming record into the delay queue if the current time is less than the delay. If the current time is greater than the delay, the second function places the streaming record into a ready queue for processing. The second function processes the streaming record in the ready queue.


