Introducing SubQuery SDK 4.0: Enhancing Performance with Increased Speed

user avatar

by Giorgi Kostiuk

2 years ago

Made with AI


SubQuery SDK 4.0 is designed to offer faster blockchain indexing capabilities for developers. The tool provides a data layer that is indexed, allowing for quicker access to rich data, ultimately leading to the creation of more engaging user experiences.

The objective of SubQuery is to be the most user-friendly and fastest indexing tool available. The recent release of SDK 4.0 brings significant performance enhancements to achieve this goal.

Updates in SDK 4.0

The focus of SDK 4.0 is primarily on speed, aiming to boost indexing performance significantly. By optimizing multi-threading and store operations, developers can now sync faster, iterate more rapidly, and bring new features to the market in a timelier manner.

One of the key changes in SDK 4.0 is the introduction of the SubQuery Data Node and filtering RPC API. This new API allows for quicker and more efficient indexing by enabling the SDK to retrieve targeted data, such as relevant transactions and logs, rather than whole blocks or unnecessary information.

The implementation of these changes has led to a marked improvement in indexing speed. In a comparative study with one of the popular Subgraphs, SubQuery was found to index almost 3.9 times faster than its counterpart for Ethereum POAP indexing.

At present, the Ethereum SDK is supported by the new Data Nodes, with plans to expand compatibility to other blockchain networks in the future. Additionally, SDK 4.0 includes enhancements such as improved store functionality within mapping handlers.

Introducing the SubQuery Data Node

The SubQuery Data Node is a specialized RPC node optimized for efficient querying, especially in endpoints like eth_getLog. It offers enhanced performance and filtering capabilities in a single API call, making it an invaluable asset for developers.

The Data Node is open-source, allowing for contributions and modifications from the community. Currently, SubQuery provides two Data Nodes: one for Ethereum and testnets, and another for Optimism, Base, and their testnets.

The collaboration between the SubQuery Indexer and Data Node results in a high-performance indexing solution that is fully decentralized, thanks to the SubQuery Network.

Details on the Data Node, including usage instructions, can be found here.

Future Developments

In the future, SubQuery plans to democratize RPC services and address EIP-4444 through the introduction of the Sharded Data Node. This innovation aims to reduce the cost and complexity of running RPC nodes, making it more accessible to a broader user base.

By extending support for sharding, SubQuery's Data Node will optimize performance further by splitting up block ranges among node operators, thereby enhancing query efficiency.

About SubQuery

SubQuery Network is dedicated to revolutionizing web3 infrastructure by providing tools that empower builders to shape a decentralized future. With a focus on speed, flexibility, and openness, SubQuery facilitates the development of dApps on various networks. The upcoming Data Node promises groundbreaking improvements in the RPC industry, ensuring decentralization without compromise.

Join the movement at SubQuery to drive inclusive and decentralized web3 innovations and help shape the future of the internet together.

Tier I

Sector: #18291

Sealed Hiding Place Room

Resource Cache

Resource Cache

Tier I

Requires 25% Tier Progress to Claim
Meme Cache

Meme Cache

Tier I

Requires 50% Tier Progress to Claim
Equipment Cache

Equipment Cache

Tier I

Requires 75% Tier Progress to Claim

After collecting, hiding places will be stored in your inventory and can be opened with Keys.

Other news

Bybit Confirms Support for Avalanche v1150 Upgrade

Bybit has confirmed support for the Avalanche v1150 upgrade, ensuring continued compatibility for AVAX users.

user avatarTomas Novak

Bybit Launches OURAUSDT Pre-IPO Perpetual Contract

Bybit has launched OURAUSDT, a pre-IPO perpetual contract, allowing leveraged trading on Oura's implied valuation before its public listing.

user avatarKaterina Papadopoulou

Binance Expands Use of Tokenized Stocks for Margin Utility

Binance has introduced a new feature allowing users to use eligible bStocks as collateral in its MultiAssets Mode.

user avatarMaya Lundqvist

Binance Introduces 24/7 Foreign Exchange Perpetual Contracts

Binance has launched a new trading model for 24/7 trading of foreign exchange perpetual contracts, starting with a contract linked to the US dollar and Brazilian real.

user avatarLeo van der Veen

Ondo Finance Streamlines Institutional Stock Tokenization

Ondo Finance has introduced a new integration that simplifies the process of institutional stock tokenization by allowing direct contribution of existing equity inventory.

user avatarLi Weicheng

Investigation into Zondacrypto Founder’s Disappearance Intensifies

The investigation into the disappearance of Zondacrypto founder Sylwester Suszek has intensified as Polish police search a fuel depot linked to his last known whereabouts.

user avatarTenzin Dorje

Important disclaimer: The information presented on the Dapp.Expert portal is intended solely for informational purposes and does not constitute an investment recommendation or a guide to action in the field of cryptocurrencies. The Dapp.Expert team is not responsible for any potential losses or missed profits associated with the use of materials published on the site. Before making investment decisions in cryptocurrencies, we recommend consulting a qualified financial advisor.