Policy-Based Storage Distribution via Consistent Hashing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional database systems face inefficiencies when handling multiple operations on the same account, leading to errors and complexity in managing queues across multiple servers, especially when servers are added or removed, as manual rebalancing is required and automated scheduling is lacking.

Innovation Solution

Implementing a policy-based storage structure with consistent hashing to allow multiple entries per key, enabling automated distribution and balancing of queues across servers, allowing for seamless addition or removal of nodes and providing distributed fault-tolerance without a centralized list.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If manual distribution of queues over servers is used, then data can be stored across multiple servers, but management complexity increases significantly when servers are added or removed

Engineering Contradiction:
Improvenumber of serversVSAvoidmanagement complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The system automatically redistributes queues when servers are added or removed without requiring manual intervention. The load balancing mechanism self-adjusts by calculating new queue assignments based on current server availability, eliminating the need for administrators to manually rebalance hundreds of thousands of queues.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The queue distribution system dynamically adapts to changing server configurations. When servers enter or exit the cluster, the system automatically recalculates and redistributes queues in real-time, transforming a static manual assignment system into a dynamic self-adjusting system.

Inventive Principle:
Principle #15Dynamics

2Adaptability or versatility

If queues are created for every key with multiple entries, then multiple operations per account are supported, but automated scheduling is lacking and management becomes inefficient

Engineering Contradiction:
Improvemultiple operations per accountVSAvoidscheduling automation
Core Design Contradiction:
Adaptability or versatilityVSExtent of automation

Solution Approach 1:

The load balancing mechanism continuously monitors server status and queue distribution, using this feedback to automatically make scheduling decisions. When servers are added or removed, the system receives feedback about the changed configuration and automatically adjusts queue assignments to maintain optimal distribution.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

A load balancing intermediary layer is introduced between the queue management system and the servers. This intermediary automatically handles the complex scheduling and redistribution logic, translating high-level server availability information into specific queue assignment decisions without requiring manual intervention.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If data is distributed over multiple servers, then handling capacity increases, but rebalancing queues manually when servers change adds to complexity

Engineering Contradiction:
Improvehandling capacityVSAvoidease of management
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The system automatically performs the rebalancing operation that would otherwise require manual administrator intervention. When server configuration changes, the load balancing system self-services by detecting the change and automatically redistributing queues across the available servers, maintaining ease of operation even as handling capacity scales.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS9367600B2Policy-based storage structure distribution
Publication Date: 2016.06.14 CLOUD SOFTWARE GROUP LLC
  • US9367600B2 patent drawing
  • US9367600B2 patent drawing
  • US9367600B2 patent drawing

AI summary

Policy-based storage and retrieval combined with a distribution algorithm results in automatic and even distribution of policy-based storage structures across a set of nodes and dynamic, automated homing or ownership of policy-based storage structures. Large numbers of policy-based storage structures may be distributed without manual administration, allowing for rapid creation and destruction of storage structures. The overall load may be distributed and balanced across the server pool. Multiple entries having the same key value in a database- or table-like structure allow for distribution of policy-based storage and retrieval by key value and for queue semantics to be utilized for microqueues in the large database- or table-like structure.