Skip to content
Bohdan Khorolets edited this page Sep 12, 2023 · 13 revisions

ReadRPC

ReadRPC is an API server designed to integrate seamlessly with NEAR-RPC. ReadRPC is a departure from the conventional use of the nearcore node. By sidestepping the traditional dependence on the nearcore node, ReadRPC harnesses the ability to scale easily, leveraging a centralized system's efficiencies.

The journey begins with the NEAR Lake indexing solution, which directly captures and funnels the data into a unified database. From there, the ReadRPC server functions like a typical web 2.0 API server, delivering the data with exceptional speed and efficiency.

Merging the robustness of blockchain technology with the agility of a centralized framework, ReadRPC offers a cutting-edge solution for optimized data access.

Rationale Behind ReadRPC

Our primary motivation behind the ReadRPC project was to find an efficient alternative to running numerous nearcore nodes for RPC service, given their high costs and required maintenance.

As the project unfolded, we identified an opportunity to extend its benefits beyond our internal needs. We recognized its potential to serve the broader community, allowing individuals and entities like dApp owners to run customized ReadRPC "nodes." These nodes can be tailored to retain only data pertinent to their specific applications, enhancing efficiency.

An unexpected advantage emerged during our development phase: the capability of ReadRPC to house archival data. This meant that the entire historical data could be stored within ReadRPC using significantly less storage space, further emphasizing the system's cost and space efficiency.

More technical details

Clone this wiki locally