Video Event Streaming Bus Rebalancing Architecture

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing security camera systems face challenges in efficiently managing continuous video recording and streaming, particularly in associating video events with continuous video streams, and in handling variable event detection loads without missing important events.

Innovation Solution

A time-based architecture is implemented to associate detected video events with appropriate portions of continuous video streams, using an independent event detection system separate from the storage system. This architecture employs an asynchronous event-driven messaging system to manage variable compute resources and dynamically rebalance partitions among server instances to ensure low-latency event notification.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If an asynchronous event-driven messaging architecture is used to handle variable event detection loads, then the system's adaptability to changing event volumes is improved, but the complexity of managing partitions and server instances increases

Engineering Contradiction:
Improveadaptability to variable event detection loadsVSAvoidcomplexity of managing partitions and server instances
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system dynamically rebalances partitions among server instances based on current load conditions. When server instances are added or removed, the rebalancing mechanism automatically redistributes partitions to maintain optimal resource utilization. This dynamic adaptation allows the system to handle variable event detection loads without manual reconfiguration, resolving the contradiction between adaptability and complexity by making the system self-adjusting.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The rebalancing mechanism incorporates feedback loops that continuously monitor partition assignment and server instance health. When events are missed or server instances fail, the system detects these conditions and triggers rebalancing actions. This feedback-driven approach enables automatic recovery and load distribution, improving adaptability while managing complexity through automated control rather than manual intervention.

Inventive Principle:
Principle #23Feedback

2Productivity

If partitions are rebalanced frequently to optimize resource utilization, then productivity and resource efficiency are improved, but the risk of missing video events increases due to reassignment overhead

Engineering Contradiction:
Improveresource utilization efficiencyVSAvoidevent detection completeness
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system performs preliminary checks before initiating partition rebalancing to ensure that reassignment will not cause event loss. It verifies server instance readiness and maintains buffer capacity before transferring partitions. This preliminary action prevents rebalancing operations that would compromise event detection completeness, allowing frequent rebalancing when safe and maintaining reliability.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system maintains buffer capacity and redundancy in the event pipeline before rebalancing operations. By keeping additional processing capacity available and implementing graceful handover mechanisms, the system cushions against potential event loss during partition reassignment. This beforehand cushioning allows aggressive rebalancing for productivity while protecting event detection completeness.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

3Adaptability or versatility

If the system maintains a large number of server instances ready to handle peak loads, then the ability to handle variable loads is improved, but the loss of energy and computational resources increases during low-load periods

Engineering Contradiction:
Improveability to handle peak loadsVSAvoidcomputational resource waste during low-load periods
Core Design Contradiction:
Adaptability or versatilityVSLoss of energy

Solution Approach 1:

The system dynamically scales the number of active server instances based on current event detection loads. During peak loads, additional instances are activated and assigned partitions; during low-load periods, instances are deactivated or placed in standby mode. This dynamic scaling eliminates the need to maintain a large number of constantly running instances, reducing energy waste while maintaining the ability to handle peak loads through on-demand resource allocation.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS12309441B1Rebalancing architecture for video streaming event communication
Publication Date: 2025.05.20 AMAZON TECH INC
  • US12309441B1 patent drawing
  • US12309441B1 patent drawing
  • US12309441B1 patent drawing

AI summary

Systems and techniques are described for rebalancing a video event streaming bus are generally described. In various examples, a first set of unassigned partitions of an asynchronous event driven messaging architecture are determined. The first set of unassigned partitions of the asynchronous event driven messaging architecture may relate to detected events associated with recorded video. A first set of server instances with no assigned partitions may be determined. A single partition of the first set of unassigned partitions may be assigned to each server instance of the first set of server instances.