Distributed Read-Only Database Service Host Group Selection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Large-scale computing systems face challenges in managing and scaling read-only databases across distributed systems, particularly in reducing latency, storage usage, and ensuring fault tolerance while accommodating varying transaction rates and dataset sizes.

Innovation Solution

A distributed read-only database service that automatically selects and deploys host groups based on dataset metrics, allowing direct client connections to host groups, enabling compression, and providing fault tolerance through replication and load balancing, thereby reducing latency and resource usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If read-only databases are deployed across distributed systems with multiple hosts, then fault tolerance and scalability are improved, but system complexity and routing overhead increase

Engineering Contradiction:
Improvefault toleranceVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces a routing layer as an intermediary component that manages client requests to distributed host groups. This routing layer abstracts the complexity of direct client-to-host routing, providing a simplified interface while maintaining the distributed architecture's fault tolerance and scalability benefits.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system segments the distributed database into multiple host groups that can be independently managed and scaled. Each host group handles specific datasets, allowing the system to distribute load across multiple segments while maintaining overall system reliability through this modular structure.

Inventive Principle:
Principle #1Segmentation

2Reliability

If datasets are replicated across multiple hosts, then fault tolerance is improved, but storage usage increases

Engineering Contradiction:
Improvefault toleranceVSAvoidstorage usage
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent implements compression at the local host level, where each host stores compressed versions of replicated datasets. This allows fault tolerance through replication while reducing the storage footprint by applying compression locally to each copy, thereby mitigating the storage overhead of replication.

Inventive Principle:
Principle #3Local quality

3Ease of operation

If client connections are routed through a centralized routing layer, then system management is simplified, but access latency increases

Engineering Contradiction:
Improvesystem managementVSAvoidaccess latency
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The system performs preliminary routing decisions by having clients connect directly to appropriate host groups based on pre-determined routing rules or cached routing information. This eliminates the need for real-time centralized routing lookups, reducing access latency while maintaining simplified system management through pre-computed routing strategies.

Inventive Principle:
Principle #10Preliminary action

4Productivity

If the number of hosts per host group is increased to meet higher transaction rates, then productivity is improved, but resource usage increases

Engineering Contradiction:
Improvetransaction rateVSAvoidresource usage
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent dynamically adjusts the number of hosts allocated to host groups based on observed transaction rates and dataset characteristics. By changing the parameter of host group size in response to workload demands, the system optimizes productivity for high transaction rates while conserving resources during lower utilization periods.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11074229B1Distributed read-only database service
Publication Date: 2021.07.27 AMAZON TECH INC
  • US11074229B1 patent drawing
  • US11074229B1 patent drawing
  • US11074229B1 patent drawing

AI summary

Methods, systems, and computer-readable media for a distributed read-only database service are disclosed. Using a read-only database service, one or more host groups are selected from a plurality of available host groups in a distributed system. The one or more host groups are selected for a particular dataset based at least in part on a size of the dataset and on a transaction rate for the dataset. The selected one or more host groups comprise one or more hosts comprising storage resources. A read-only database comprising elements of the dataset is generated. The read-only database is deployed to the storage resources of the one or more host groups in the distributed system. The one or more host groups are configured to serve a plurality of read requests from clients for the elements of the read-only database.