Index Update Pipeline for Distributed Database Consistency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed database management systems face inefficiencies in data retrieval and replication due to uneven data distribution and index updates across partitions, leading to performance degradation and consistency issues during system failures.

Innovation Solution

Implementing a hash and range key function for data partitioning, combined with quorum-based transactions and replication logs, to ensure consistent data distribution and efficient index updates across multiple partitions, and utilizing send and receive buffers for instruction transmission and execution.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If data is distributed across multiple partitions in a distributed DBMS, then system availability and reliability are improved, but index update consistency and data distribution uniformity deteriorate

Engineering Contradiction:
Improvesystem availabilityVSAvoidindex update consistency
Core Design Contradiction:
ReliabilityVSStability of the object's composition

Solution Approach 1:

The patent segments the index update process into distinct phases: generating update instructions at the source partition, transmitting them through a buffer system, and applying them at target partitions. This segmentation allows each component to focus on a specific aspect of the update process, improving overall consistency while maintaining distributed architecture benefits.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary buffer system that mediates between source and target partitions during index updates. The send buffer and receive buffer act as intermediaries to coordinate update instructions across partitions, ensuring that updates are applied consistently without requiring direct peer-to-peer communication between all partitions.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If replication is used to maintain standby partitions, then system reliability is improved, but the complexity of maintaining multiple index versions increases

Engineering Contradiction:
Improvesystem availabilityVSAvoidindex version management
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent uses copying to create standby partitions and their associated indexes. Instead of maintaining complex relationships between primary and replica indexes, the system creates complete copies that can be independently updated through the buffer mechanism. This simplifies the management of multiple index versions by treating them as independent copies rather than interdependent structures.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent manages index version complexity by changing the parameter of update propagation - instead of maintaining strict synchronous updates across all replicas, the system allows asynchronous update propagation through buffers. This parameter change from synchronous to asynchronous updates reduces the complexity of maintaining consistency across multiple index versions.

Inventive Principle:
Principle #35Parameter changes

3Speed

If local indexes are maintained on each partition, then data retrieval speed is improved, but the overhead of updating multiple local indexes increases

Engineering Contradiction:
Improvedata retrieval speedVSAvoidindex update overhead
Core Design Contradiction:
SpeedVSLoss of energy

Solution Approach 1:

The patent merges the update instruction generation and transmission processes into a unified buffer-based system. Instead of each partition independently managing its own index updates, the system combines update operations into standardized instructions that are transmitted through shared buffers, reducing redundant processing and lowering the overall overhead of maintaining multiple local indexes.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS11841844B2Index update pipeline
Publication Date: 2023.12.12 AMAZON TECH INC
  • US11841844B2 patent drawing
  • US11841844B2 patent drawing
  • US11841844B2 patent drawing

AI summary

Distributed database management systems may maintain collections of items spanning multiple partitions. Index structures may correspond to items on one partition or to items on multiple partitions. Item collections and indexes may be replicated. Changes to the data maintained by the distributed database management system may result in updates to multiple index structures. The changes may be compiled into an instruction set applicable to the index structures. In-memory buffers may contain the instructions prior to transmission to affected partitions. Replication logs may be combined with an acknowledgment mechanism for reliable transmission of the instructions to the affected partitions.