Auction-Based Thread Resource Allocation in Multi-Tenant Systems

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In large-scale cloud platforms, conventional resource allocation techniques fail to provide real-time guarantees for customer requests, leading to performance degradation due to resource starvation and inefficiencies in multi-tenancy environments, where multiple users compete for limited resources.

Innovation Solution

An auction-based mechanism for fair allocation of thread resources in an on-demand services environment, where job requests and bids are received from organizations, resource currency values are determined, and available resources are auctioned off dynamically to prioritize and process job requests based on dedicated and available resources.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional resource allocation techniques are used, then system simplicity is maintained, but real-time guarantees and customer satisfaction deteriorate due to resource starvation and performance degradation

Engineering Contradiction:
Improvereal-time guaranteesVSAvoidresource allocation mechanism
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent changes the parameter of resource allocation from static/conventional to dynamic/auction-based. By introducing an auction mechanism where customers bid for thread resources, the system dynamically adjusts resource distribution based on real-time demand and customer willingness to pay, thereby achieving real-time guarantees while managing complexity through market-based automation

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent replaces the mechanical/administrative resource allocation system with a market-based auction system. Instead of using conventional scheduling algorithms or manual resource management, the system uses economic mechanisms (bidding, pricing, market equilibrium) to automatically allocate thread resources, transforming the allocation paradigm from technical control to economic regulation

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Productivity

If thread resources are allocated to long running messages, then throughput is maintained, but short customer-facing messages are starved leading to performance degradation

Engineering Contradiction:
ImprovethroughputVSAvoidcustomer-facing performance
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent applies local quality by allowing different message types to receive different levels of resource allocation based on their characteristics and customer value. Customer-facing messages can be allocated premium thread resources through bidding, while internal long-running messages receive standard allocation, creating localized resource quality variations that match message importance and prevent starvation of critical operations

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent introduces dynamics to the resource allocation system by using real-time auctions where thread resource allocation is not fixed but continuously adjusted based on current system state, message priorities, and customer bids. This dynamic mechanism allows the system to adapt resource distribution moment-by-moment, ensuring customer-facing messages receive adequate threads while maintaining overall throughput

Inventive Principle:
Principle #15Dynamics

3Productivity

If resources are allocated statically among multiple tenants, then system complexity is reduced, but resource utilization efficiency deteriorates due to competition for limited resources

Engineering Contradiction:
Improveresource utilization efficiencyVSAvoidmulti-tenant resource management
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements self-service by allowing each tenant to automatically bid for and allocate their own thread resources based on their current workload demands. The auction mechanism enables tenants to self-regulate their resource consumption, with the system automatically matching supply and demand without requiring complex centralized multi-tenant management, thereby improving utilization while managing complexity through decentralized decision-making

Inventive Principle:
Principle #25Self-service

Data Source

PatentEP2895954B1Auction-based resource sharing for message queues in an on-demand services environment
Publication Date: 2023.11.29 SALESFORCE INC
  • EP2895954B1 patent drawingFigure 1
  • EP2895954B1 patent drawingFigure 2
  • EP2895954B1 patent drawingFigure 3

AI summary

In accordance with embodiments, there are provided mechanisms and methods for facilitating an auction-based fair allocation and usage of thread resources for user messages according to one embodiment in an on-demand services environment. In one embodiment and by way of example, a method includes receiving job requests and bids from a plurality of organizations over a network, where each job request and the corresponding bid is placed by a user associated with an organization having a resource currency value within a multi-tenant database system via a user interface at a computing device over the network, determining resource currency values associated with pending jobs relating to the plurality of organizations, wherein the resource currency values corresponds to resources dedicated to the pending jobs, and performing an auction of the received bids for resources that are not dedicated and remains available for purchase, where a bid includes a purchase request to purchase the available resources. The method may further include prioritizing the job requests based on the dedicated resources and the auction of the available resources, and processing the job requests based on the prioritized job requests.