HBase Accelerator for Mixed Read Write Performance
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
HBase databases face performance issues when handling a mixture of reads and writes in data regions, as they are optimized for sequential operations rather than mixed traffic, leading to inefficiencies in handling highly active segments with intense read/write traffic.
Innovation Solution
The implementation of an HBase Accelerator that maintains all data in a highly active segment (HAS) in fast electronic storage, allowing for rapid and efficient mixed read/write operations, and incrementally transfers data to a BigData-DataBase (BDDB) for long-term storage, ensuring seamless integration and resource optimization.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If HBase database uses persistent file system for data storage, then data durability and scalability are improved, but performance of mixed read and write operations in highly active segments deteriorates
Solution Approach 1:
The patent divides the HBase database into two distinct segments: Highly Active Segments (HAS) and non-HAS regions. HAS stores frequently accessed data in memory for high-speed mixed read/write operations, while non-HAS stores less active data on persistent storage. This segmentation allows the system to optimize performance for hot data without sacrificing the durability guarantees of the underlying persistent file system.
Solution Approach 2:
The patent introduces an intermediary component (HBase accelerator or memory buffer) between the persistent file system and the application layer. This intermediary caches frequently accessed data blocks in memory, translating fast in-memory access for HAS while maintaining the persistent storage backend for durability. The intermediary handles data synchronization and persistence operations, shielding applications from the performance limitations of direct persistent storage access.
2Quantity of substance
If HBase database stores all data in persistent storage, then data capacity and long-term storage are improved, but access speed for frequently modified data deteriorates
Solution Approach 1:
The patent segments storage into memory-resident HAS and persistent storage for non-HAS, allowing the system to maintain large data capacity on persistent storage while keeping frequently accessed portions in fast memory. This enables the system to scale data capacity using inexpensive persistent storage while maintaining high access speeds for active data in memory.
Solution Approach 2:
The patent applies different storage quality characteristics to different data regions: HAS data receives high-quality fast memory storage for speed-critical operations, while non-HAS data uses standard persistent storage. This local differentiation of storage quality allows the system to optimize for speed where needed while maintaining overall data capacity and cost-effectiveness.
3Device complexity
If HBase database handles mixed read and write operations sequentially, then implementation simplicity is maintained, but processing throughput for concurrent operations deteriorates
Solution Approach 1:
The patent segments the operation handling mechanism into separate paths: HAS operations benefit from optimized in-memory processing with specialized data structures and algorithms for mixed read/write workloads, while non-HAS operations follow traditional persistent storage paths. This segmentation enables complex high-performance handling of mixed operations in HAS without significantly complicating the overall system architecture.
Data Source
AI summary
In a method for improving performance of a database, create, in a memory, an instance of a segment of data corresponding to a segment of data in a database on a persistent file system. The segment of data in the database on the persistent file system is expected to experience a high plurality of reads and writes during a certain time period. Receive a request to modify the segment of data in the database on the persistent file system. Modify the instance of the segment of data in the memory.


