Substreams’ new index module brings a major performance boost

StreamingFast
May 23, 2024

--

Substreams’ new index module brings a major performance boost

For some smart contracts with sparse data, we’ve observed an impressive 50x performance increase!

One of the most important features of Substreams is the ability to select which specific data you want to retrieve from the blockchain. This is possible because you have access to the full and raw data of every block through a Protobuf schema (the Block Protobuf schema for each protocol).

To start developing a Substreams, you import the Block Protobuf, and therefore, you will automatically process all the data of that specific block. While this is powerful, it also comes with a disadvantage: you might not be interested in all the data contained in the block.

Full article available on https://www.streamingfast.io/blog/substreams-new-index-module-brings-a-major-performance-boost

--

--

StreamingFast

StreamingFast is a protocol infrastructure company providing scalable blockchain data streaming. All new articles are now at https://streamingfast.io/blog.