Blockchain Request Routing With Cookie-Based Node Consistency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Blockchain service providers face data inconsistency issues among nodes, leading to errors and blocked transactions due to inconsistent data validation heights, which existing systems struggle to address effectively.
Innovation Solution
Implementing worker nodes for request routing and backend management, using cookies for consistent data routing, maintaining a cache of block data, and validating with external data services to ensure data consistency and reduce resource wastage.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If multiple blockchain nodes are used to support services, then system reliability and availability are improved, but data inconsistency errors occur due to different validation heights
Solution Approach 1:
The patent introduces worker nodes as intermediary components between client applications and compute clusters. These worker nodes receive requests, assign cookies to track client-node associations, and route requests to appropriate compute clusters. This intermediary layer ensures that clients consistently interact with the same blockchain node, preventing data inconsistency while maintaining multiple nodes for reliability.
2Device complexity
If request routing is implemented without cookies, then system complexity is reduced, but data inconsistency errors increase
Solution Approach 1:
The patent implements a feedback mechanism using cookies to track and maintain the association between client applications and blockchain nodes. When a client makes a request, a cookie is assigned that contains information about the associated compute cluster and blockchain node. Subsequent requests include this cookie, creating a feedback loop that ensures consistent routing to the same node, thereby preventing data inconsistency while managing complexity through structured tracking.
3Measurement precision
If blockchain nodes continuously validate data, then data accuracy is improved, but resource consumption increases
Solution Approach 1:
The patent implements preliminary validation actions where compute clusters validate blockchain data and determine consistency before servicing client requests. The worker nodes route requests to compute clusters that have already validated the data, ensuring data accuracy without requiring continuous validation by all nodes. This preliminary action approach maintains data accuracy while reducing overall resource consumption by validating data once rather than continuously.
Data Source
AI summary
Methods, systems, and devices for data management are described. A custodial token platform may (e.g., via a data synchronizer or a server) route requests received from one or more client applications to one or more compute clusters that execute a set of blockchain nodes for supporting the blockchain network. The platform may assign cookies to the client applications such that subsequent requests from a same client application are routed to the correct compute cluster such as to avoid or limit data synchronization errors. The initial routing may be based on one or more routing factors. The custodial token platform may additionally support an external node validator which validates and caches data from multiple external blockchain data service providers, and the cached data may be used to service blockchain data requests. An inline data validation procedure may be performed if a request results in a cache miss.


