Multi-Tier Query Execution Options in Serverless

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Users of non-SLA based serverless architectures face challenges with slow query results due to lack of price-per-unit billing options, leading to inefficiencies in query execution times and costs.

Innovation Solution

A multi-tier resource management system that provides users with options to execute queries on different hardware configurations, offering estimates of execution times and costs, allowing for immediate results at a higher cost or waiting for slower results at a lower cost, and enabling pre-pay options for immediate performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If queries are executed on standard hardware configurations in serverless environments, then cost is reduced, but query execution time increases

Engineering Contradiction:
Improvequery execution timeVSAvoidcost efficiency
Core Design Contradiction:
Loss of timeVSProductivity

Solution Approach 1:

The hardware resources are segmented into multiple distinct tiers (e.g., basic tier, enhanced tier, premium tier) with different performance characteristics and cost levels. Each tier offers a specific balance between compute power, memory, storage, and cost, allowing users to segment their workload based on urgency and budget constraints.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system dynamically adjusts hardware configuration based on query characteristics, user preferences, and pricing models. Execution times and costs are dynamically estimated and presented to users, allowing real-time optimization of resource allocation based on actual workload demands and budget constraints.

Inventive Principle:
Principle #15Dynamics

2Speed

If multiple hardware tiers are provided with different performance levels, then query execution time can be optimized, but system complexity increases

Engineering Contradiction:
Improvequery execution speedVSAvoidhardware configuration complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The hardware tiers are designed to be universally applicable across different query workloads and service types. Each tier provides a complete set of hardware resources (CPU, memory, storage, network) that can handle various database operations, making the complex hardware infrastructure universal rather than specialized for single purposes.

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

Solution Approach 2:

Instead of providing completely different hardware architectures, the system changes key parameters (performance level, resource allocation, pricing) across tiers. The basic tier uses standard hardware parameters while enhanced and premium tiers scale these parameters, creating a manageable progression that doesn't fundamentally change the system architecture.

Inventive Principle:
Principle #35Parameter changes

3Adaptability or versatility

If users are provided with multiple query execution options with different costs and times, then user choice and optimization are improved, but ease of operation decreases

Engineering Contradiction:
Improvequery execution flexibilityVSAvoiduser selection complexity
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The system provides feedback to users in the form of estimated execution times and costs for each hardware tier before query submission. This feedback loop allows users to make informed decisions about which tier to select based on their specific needs and budget, making the complexity manageable through transparent information provision.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system performs preliminary estimation of execution times and costs for different hardware tiers before the actual query execution. These pre-calculated estimates are presented to users for selection, allowing them to make decisions in advance rather than dealing with complex real-time optimization choices during query execution.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12019633B2Providing multi-tier query execution options in a serverless query environment
Publication Date: 2024.06.25 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US12019633B2 patent drawing
  • US12019633B2 patent drawing
  • US12019633B2 patent drawing

AI summary

An approach is provided in which the approach receives a query request to execute a query. The approach provides multiple query execution options based on multiple hardware configurations. The multiple query execution options include multiple execution times and multiple execution costs. The approach receives a selection that selects at least one of the query execution options and, in turn, executes the query on at least one of the hardware configurations based on the received selection.