Systems and methods for efficiently serving blockchain requests using an optimized cache
摘要:
Systems and methods for efficiently serving blockchain requests using an optimized cache are disclosed herein. An example method normalizing a request for blockchain data into a key, the request including a hash of a canonical head block of the blockchain data, searching a distributed key value store using the key, the distributed key value store comprising key value pairs, each of the key value pairs being associated with responsive blockchain data, determining when one of the key value pairs match the key, placing a pending job space for a job in the distributed key value store when one of the key value pairs is not found, and storing a new key value pair in the distributed key value store when a response for the request is obtained, the response being new responsive blockchain data.
信息查询
0/0