In this article, we'll discuss how we achieved a tenfold increase in the processing speed of the tx-indexer by applying four key concepts related to our use of key/value storage:
Key/Value stores variabilities
The importance of Efficient Data Encoding
Secondary Indexes
Batch Inserts
The Transaction Indexer (tx-indexer) is the primary tool Gno.land uses to index its networks. It is in charge of keeping up with block production, fetching new data, indexing it, and serving it to users while providing filtering and subscription capabilities. The tx-indexer creates versatility and ease of use when using on-chain data, which is one of the key aspects of a fully functioning decentralized application.
Understanding Key/Value Store Variability