Federated Query Zone Splitting for Peak Load Management
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Federated systems face performance degradation due to the high cost and latency of write operations, especially during peak times when multiple data sources are updated simultaneously, leading to user experience degradation.
Innovation Solution
The method involves splitting a zone into disjoint subsets of data sources and assigning clients to specific subsets, allowing federated queries to be submitted only to the assigned subset, thereby reducing the number of data sources involved in write operations and improving query performance during peak phases.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If write operations are performed on all data sources simultaneously in a federated system, then data consistency across the federation is maintained, but system performance and query speed degrade during peak times
Solution Approach 1:
The patent divides the federated data sources into multiple zones, where each zone contains a subset of data sources. This segmentation allows write operations to be performed on only the relevant zone containing the target data source, rather than all data sources in the federation. This reduces the scope of write operations, improving query speed while maintaining data consistency within each zone through appropriate transaction management.
2Reliability
If all data sources are involved in every write operation, then comprehensive data updates are ensured, but the expense and latency of write operations increase
Solution Approach 1:
The patent implements local quality by making write operations localized to specific zones containing the relevant data sources. Each zone manages its own data sources independently, allowing write operations to be performed only where necessary rather than globally across the entire federation. This reduces write operation latency while ensuring data completeness within the affected zone through proper transaction handling.
3Loss of information
If the federated system processes queries across all data sources, then complete data analysis is achieved, but system scalability is limited during peak phases
Solution Approach 1:
The patent segments the federated system into multiple zones that can be independently managed and scaled. Each zone can be optimized for specific data sources or workloads, allowing the system to scale horizontally by adding more zones as needed. This segmentation enables better resource utilization and improved scalability during peak phases while maintaining the ability to perform complete data analysis across all zones when required.
Data Source
AI summary
An example method of submitting a federated query to one or more data sources belonging to a federation includes splitting a zone into a plurality of zone subsets. The zone includes a plurality of data sources belonging to a federation. The plurality of zone subsets has disjoint sets of data sources belonging to the federation. The method also includes receiving a federated query from a client. The federated query includes a plurality of source queries. Each source query of the plurality of source queries is specific to an autonomous data source belonging to the federation. The method further includes determining the client's assigned zone subset of the plurality of zone subsets. The method also includes submitting the federated query to the client's assigned zone subset. The plurality of source queries is submitted to one or more data sources in the zone subset to which the client is assigned.


