Distributed Database Replica Placement in Preferred Availability Zones

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed database systems face performance reductions due to the need for data redundancy across multiple locations for high availability, which can lead to increased latency and reduced efficiency in write operations and index management.

Innovation Solution

The system designates a preferred availability zone where replicas of data are concentrated, allowing for improved performance by reducing the need for inter-zone communication during write operations and index management, while maintaining high availability through strategic placement of database nodes and services within that zone.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If data replicas are distributed across multiple isolated locations for high availability, then system availability is improved, but write operation latency increases

Engineering Contradiction:
Improvesystem availabilityVSAvoidwrite operation latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent designates a preferred availability zone where multiple replicas are concentrated, creating a local cluster for fast write operations. This allows the system to have different replication strategies for different zones: the preferred zone has multiple replicas for low latency writes, while other zones have fewer replicas primarily for read operations and disaster recovery, thus resolving the contradiction between availability and write latency

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system segments the distributed database into a preferred availability zone and non-preferred availability zones. The preferred zone is designated to handle write operations with multiple replicas, while non-preferred zones serve primarily for reads and availability. This segmentation allows the system to optimize write performance in the preferred zone while maintaining overall system availability through the distributed architecture

Inventive Principle:
Principle #1Segmentation

2Reliability

If data replicas are distributed across multiple isolated locations for high availability, then system availability is improved, but overall system performance reduces

Engineering Contradiction:
Improvesystem availabilityVSAvoidsystem performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements local quality by concentrating the majority of replicas in a preferred availability zone, allowing write operations to be performed locally without requiring coordination across distant zones. This improves overall system performance while maintaining availability through the distributed architecture, as reads can still be served from non-preferred zones and the preferred zone has sufficient replicas for high availability

Inventive Principle:
Principle #3Local quality

3Reliability

If replicas are placed in multiple availability zones for fault tolerance, then system reliability is improved, but inter-zone communication overhead increases

Engineering Contradiction:
Improvefault toleranceVSAvoidinter-zone communication overhead
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments replica placement into a preferred availability zone and non-preferred availability zones. Write operations are concentrated in the preferred zone, eliminating the need for frequent inter-zone communication for writes. Read operations can be distributed across zones, and the system maintains fault tolerance by having replicas in multiple zones, thus reducing communication overhead while preserving reliability

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts the write operation functionality from the distributed multi-zone architecture and concentrates it in the preferred availability zone. This extraction eliminates the need for complex inter-zone coordination for writes, as all write replicas are located in the same zone. The non-preferred zones retain only read replicas, simplifying the overall communication architecture while maintaining fault tolerance

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS11604809B1Distributed database with replica placement control
Publication Date: 2023.03.14 AMAZON TECH INC
  • US11604809B1 patent drawing
  • US11604809B1 patent drawing
  • US11604809B1 patent drawing

AI summary

A distributed database management system comprises database nodes located in a plurality of availability zones. The system receives a request to store a table, and determines to store a number of replicas of the table in one or more availability zones. The system obtains information indicating that one of the availability zones has been designated as preferred. The system identifies a set of database nodes in the preferred availability zone, where the number of database nodes in the subset is sufficient to determine quorum among the replicas. The replicas are stored on the identified set of database nodes.