Optimizing Bittensor Mining Operations with OnFinality: A Royal Tensor Case Study

OnFinality
3 min readApr 15, 2024

--

OnFinality is a blockchain infrastructure platform that saves web3 builders time and makes developers’ lives easier. We deliver scalable API endpoints for the biggest blockchain networks and empower developers to automatically test, deploy, scale and monitor your own blockchain nodes within minutes.

In this Customer Case Study series we hone in on how Royal Tensor use OnFinality to run and scale their Bittensor mining operations

Summary

Royal Tensor use OnFinality’s enterprise blockchain infrastructure to support their Bittensor mining operations with fast, reliable access to the Bittensor Network

“Working with OnFinality has been transformative for our Bittensor operations. Their managed services strike the perfect balance between performance and simplicity, allowing us to focus on maximizing our mining potential without the headaches of infrastructure management”

- Royal Tensor

Background

Bittensor is a decentralised computing network consisting of competing Subnets, each incentivising computers (miners) to perform specific tasks. Best known for AI, Subnets can perform any task deemed valuable to the Bittensor community

Royal Tensor runs miners for many of Bittensor’s Subnets, and each miner must communicate constantly with the Bittensor Blockchain via Bittensor API nodes.

Source: https://docs.bittensor.com/learn/introduction

The Challenges Royal Tensor Faced

Royal Tensor had tried different methods of communication between their miners and the Bittensor blockchain, each with their own challenges

Shared Public Endpoint
First, Royal Tensor used a shared public API endpoint which anybody can use to interact with the Bittensor blockchain.

However, the endpoint suffered from regular outages and slow latency so could not be relied on by critical infrastructure such as miners.

Local Bittensor Nodes
Running Bittensor Full Nodes alongside their miners provided excellent latency, but brought extra operational complexity from running a multitude of globally distributed nodes.

How OnFinality Helped Royal Tensor

Seeking a solution that merged local node performance with operational simplicity, Royal Tensor turned to OnFinality for help

Private Load Balanced Nodes

OnFinality provided a dedicated Bittensor endpoint to handle incoming requests from Royal Tensor’s miners, distributing the workload across a pool of Bittensor Nodes to ensure optimal processing speed and high availability.

For Royal Tensor, this setup ensures that their mining operations are always running with highly reliable and performant access to the Bittensor blockchain.

Enhanced Registration Process

The competitive nature of registering new Bittensor Miners requires a swift process to secure a spot for new miners in the network.

OnFinality addressed this by implementing dedicated registration nodes, specifically optimised to handle new registrations away from the main mining workload.

This setup ensures lightning-fast registrations, allowing Royal Tensor to onboard new miners quickly and efficiently

The Result

OnFinality’s support transformed Royal Tensor’s Bittensor mining operations through strategic infrastructure enhancements, specifically tailored to the unique demands of Bittensor mining.

This collaboration not only solved immediate operational challenges but also positioned Royal Tensor for scalable growth by improving the registration process for new miners and ensuring the reliable, efficient operation of mining activities.

Key Resources

Developer documentation: https://documentation.onfinality.io/support/

About Royal Tensor

Royal Tensor is a team dedicated to working within the Bittensor ecosystem to help further the mission of decentralising AI and participating in the advancement of civilization. Our team is composed of diverse professional backgrounds in data science, network infrastructure, and other technologies. We currently contribute to Bittensor by specialising in the mining of TAO by applying cutting-edge technologies and unique, innovative strategies to optimise computational power and data processing.

About OnFinality

OnFinality is a blockchain infrastructure platform that saves Web3 builders time and makes their lives easier. OnFinality delivers scalable API endpoints for the biggest blockchain networks and empowers developers to automatically test , deploy, scale and monitor their own blockchain nodes within minutes. To date, OnFinality has served over 250 billion RPC requests across 60 networks including Polkadot, Kusama, Moonbeam, Astar, Avalanche and Cosmos, and is continuously expanding these mission-critical services so developers can build the decentralised future, faster!

App | Website | Twitter | Telegram | LinkedIn

--

--

OnFinality

OnFinality empowers Web3 developers with easy-to-use, reliable and scalable blockchain infrastructure. Build smarter with onfinality.io