Multi-Shard Transaction Orchestration in Byzantine Distributed Databases
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing distributed ledger systems face challenges in maintaining data integrity and scalability across multiple shards in a Byzantine fault-tolerant computing environment, particularly in achieving high transaction throughput and ensuring data validity that complies with ACID properties.
Innovation Solution
The implementation of a federated database with shards logically ring-ordered by unique identifiers, allowing for multi-shard transactions to proceed in a linear order, and employing a framework that supports ACID properties through various replication and orchestration schemes, including linear, centralized, and distributed orchestration.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If full replication of data is implemented to enhance system integrity and resiliency, then reliability is improved, but device complexity and scalability deteriorate
Solution Approach 1:
The patent divides the distributed database into multiple shards, each containing a subset of data. This segmentation allows the system to maintain replication for reliability while reducing the complexity of managing full data replication across all nodes. Each shard can be replicated independently, enabling selective data distribution rather than full system replication.
Solution Approach 2:
The patent implements different replication strategies for different shards based on their specific requirements and access patterns. Not all shards need the same level of replication, allowing the system to optimize reliability where needed while reducing complexity and resource consumption in other areas.
2Device complexity
If sharding is introduced to support scalability, then device complexity is reduced, but data validity guarantees compliant with ACID properties deteriorate
Solution Approach 1:
The patent introduces a coordinator node that acts as an intermediary to manage multi-shard transactions. The coordinator ensures that transactions maintain ACID properties across shards by coordinating commit decisions, tracking transaction state, and ensuring consistent ordering. This mediator enables scalability through sharding while preserving data validity guarantees.
Solution Approach 2:
The patent implements preliminary actions including transaction validation, lock acquisition, and consistency checks before actual data operations. By performing these actions in advance and ensuring they complete successfully before proceeding to data modification, the system maintains ACID compliance even across distributed shards.
3Ease of operation
If traditional consensus protocols requiring a primary replica are used, then ease of operation is improved, but productivity deteriorates due to limited transaction throughput
Solution Approach 1:
The patent segments the consensus process by allowing multiple replicas to simultaneously propose transactions to different shards. Instead of a single primary replica serializing all transactions, multiple replicas can operate in parallel on different shards, significantly increasing transaction throughput while maintaining operational simplicity through distributed consensus.
Solution Approach 2:
The patent implements dynamic role assignment where replicas can switch between acting as primary and follower based on system state and transaction requirements. This dynamic behavior allows the system to optimize both ease of operation and productivity by distributing leadership responsibilities across multiple nodes rather than relying on a single fixed primary.
4Productivity
If multi-shard transactions are processed to achieve high throughput, then productivity is improved, but reliability deteriorates due to increased conflict and deadlock risk
Solution Approach 1:
The patent performs preliminary actions including acquiring locks on shared data before executing transactions and validating transaction dependencies beforehand. By securing resources in advance and checking for conflicts prior to execution, the system enables high throughput processing while preventing deadlocks and maintaining data integrity.
Solution Approach 2:
The patent implements feedback mechanisms where the coordinator continuously monitors transaction status, lock acquisition, and conflict conditions across shards. Based on this feedback, the system can dynamically adjust transaction ordering, retry failed transactions, or prevent conflicting operations, thereby maintaining reliability even at high throughput levels.
Data Source
AI summary
In a Byzantine computing environment in which a database is sharded or partitioned among multiple clusters of computing nodes, consensus for and execution of data transactions (e.g., transactions that require and/or affect data of one or more shards) are achieved in a resilient manner. Within some clusters, multiple primary replicas concurrently propose transactions for processing in parallel by all replicas. For some multi-shard transactions, shards involved in the transactions may be logically ring-ordered; each shard in turn achieves consensus among its nodes to commit the transactions, and then executes its portion of the operation after consensus is obtained among all shards. For some other multi-shard transactions, involved shards first determine whether local data constraints are satisfied, after which data modifications are made in parallel.


