Tiered Event Stream Storage for Consumer Access Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Event streaming technologies face high storage requirements due to the need to store complete stream history for multiple consumers, which can be costly when using high-performance solid-state drives (SSDs) and inefficient when using traditional hard disk drives (HDDs).

Innovation Solution

A method and system that dynamically determine advance portions of the event stream based on consumer position indexes and store them in a higher-performance SSD tier, while maintaining the entire stream history on cost-effective HDDs, optimizing storage usage and performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If the entire event stream history is stored on SSDs to improve access performance, then consumer access speed is improved, but storage cost increases significantly

Engineering Contradiction:
Improveconsumer access speedVSAvoidstorage cost
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The storage system is segmented into two distinct tiers: a high-performance SSD tier for storing advance portions of the event stream and a cost-effective HDD tier for storing the complete stream history. This segmentation allows the system to optimize for both speed and cost by placing different data portions on appropriate storage media based on their access patterns and value.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different portions of the event stream are stored on different storage tiers based on their local characteristics. The advance portions (which need fast access) are stored on SSDs, while the complete stream history (which can be accessed more slowly) is stored on HDDs. This local quality differentiation optimizes the balance between performance and cost.

Inventive Principle:
Principle #3Local quality

2Quantity of substance

If traditional HDDs are used to store the complete event stream history, then storage cost is reduced, but access performance deteriorates

Engineering Contradiction:
Improvestorage costVSAvoidaccess performance
Core Design Contradiction:
Quantity of substanceVSSpeed

Solution Approach 1:

The storage system divides the event stream into two segments: advance portions that are frequently accessed and complete stream history that is less frequently accessed. By segmenting the data, the system can store the complete history on cost-effective HDDs while maintaining fast access to the advance portions through the SSD tier.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system pre-loads advance portions of the event stream into the SSD tier before they are needed by consumers. This preliminary action ensures that when consumers need access to recent events, the data is already available on the fast SSD storage, eliminating the performance penalty of using HDDs for frequently accessed data.

Inventive Principle:
Principle #10Preliminary action

3Device complexity

If a single storage tier is used for the entire event stream, then system complexity is reduced, but the ability to optimize for both cost and performance is lost

Engineering Contradiction:
Improvesystem complexityVSAvoidstorage optimization capability
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The storage system uses segmentation to divide the event stream into advance portions and complete stream history, allowing different optimization strategies for each segment. This segmentation enables the system to achieve storage optimization without excessive complexity by using clear, distinct storage tiers with well-defined purposes.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system dynamically determines which portions of the event stream should be stored on SSDs based on consumer position indices and access patterns. This dynamic approach allows the system to optimize storage allocation in real-time without requiring complex manual configuration, balancing cost and performance automatically.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS11740831B2Storage optimization for event streaming for multiple consumers
Publication Date: 2023.08.29 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11740831B2 patent drawing
  • US11740831B2 patent drawing
  • US11740831B2 patent drawing

AI summary

Method and system are provided for storage optimization for event streaming for multiple consumers. The method provides an entire event stream for storage in a first tier storage and dynamically determines advance portions of the event stream for at least some of the consumers based on a consumer's position index in the event stream. The advance portions are portions of the event stream that will be consumed next by the consumer and the method provides the advance portions of the event stream for storage in second tier storage that has a higher performance than the first tier storage.