Cloud Database Scaling via Pod-Based Content Caching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Cloud databases face bottlenecks due to limited scalability of their processing power, which is not as scalable as container-based applications, leading to inefficiencies and increased costs when handling peak loads.

Innovation Solution

Implementing a system where immutable content is stored and served directly from pods within a cluster, bypassing the database, using a repository to determine content location and allowing pods to replicate and scale independently, thereby reducing database query latency and resource utilization inefficiencies.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Power

If additional or faster hardware is used to increase database processing power to handle peak loads, then the database can handle increased demand, but costs increase and resource utilization becomes inefficient during non-peak times

Engineering Contradiction:
Improvedatabase processing powerVSAvoidresource utilization efficiency
Core Design Contradiction:
PowerVSLoss of energy

Solution Approach 1:

The system dynamically scales database processing power by replicating database containers based on demand. During peak loads, additional database containers are created to handle increased query volumes. During non-peak times, fewer containers are active, optimizing resource utilization. This dynamic scaling eliminates the need for permanently over-provisioned hardware while maintaining the ability to handle peak demand.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the parameter of database processing capacity by adjusting the number of active database container replicas based on workload conditions. This allows the database processing power to be adjusted from a fixed state to a variable state that adapts to actual demand, resolving the contradiction between having sufficient power for peak loads and efficient resource utilization during low-demand periods.

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If the database is not replicated or scaled like containers, then database structure remains simple, but the database becomes a bottleneck when container-based applications scale to handle increased demand

Engineering Contradiction:
ImprovescalabilityVSAvoiddatabase architecture complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The database system adopts the universal container architecture that applications already use. By implementing the database as scalable containers that can be replicated and managed the same way as application containers, the system achieves consistency across the platform. This allows the database to scale universally with applications while maintaining a standardized, manageable complexity through the use of established container orchestration mechanisms.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system uses database container replication to scale processing power. Instead of scaling a single monolithic database, multiple copies (replicas) of the database container are created to handle increased demand. This copying approach enables linear scaling of database capacity while keeping individual container units simple and manageable.

Inventive Principle:
Principle #26Copying

3Speed

If network latency and database processing power are not optimized, then system configuration remains simple, but request handling speed decreases when multiple pods query the database simultaneously

Engineering Contradiction:
Improverequest handling speedVSAvoidsystem architecture complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The system segments the monolithic database into multiple distributed database container replicas. This segmentation allows queries to be distributed across multiple instances, reducing the load on any single database instance and improving overall request handling speed. The segmentation also enables local caching strategies where frequently accessed data can be replicated to application pods, further reducing network latency.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system introduces a content repository as an intermediary layer between applications and the database. This repository caches content and manages data distribution, reducing direct database query loads and minimizing network latency. The intermediary handles read requests efficiently, allowing the underlying database to focus on data management while improving overall system response speed.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11914637B2Image scaling cloud database
Publication Date: 2024.02.27 SAP SE
  • US11914637B2 patent drawing
  • US11914637B2 patent drawing
  • US11914637B2 patent drawing

AI summary

An application executing on a pod may generate a content request for a particular version of content. The application sends a request including an identifier of the version of the content to a repository in a cluster of pods. The repository determines, using the identifier, whether the version of the content is stored in the cluster or stored at a database in a different cluster. The application receives a response from the repository that may indicate that the version of the content is stored in the cluster and the response may include an identifier of a content pod storing the version of the content. The application sends the content request to the content pod storing the version of the content and may receive the version of the content without querying the database for the version of the content.