Closed gmilescu closed 9 months ago
2023-11-27
2023-12-18
view_state
via ReadRPC validators
method (current epoch or any historical one)view_state_paginated
to retrieve huge states in paginated way2024-01-16
2024-01-26
2024-02-08
Over the past two weeks we did not make too much progress with this project. We prioritised instead the preparation work for Stake Wars IV (e.g. Explorer, web service for account creation), and we expect that work to continue for about one more week.
The remaining tasks are around finishing the implementation for data filtering (1 engineering week of effort) and then test the whole setup.
We continue to aim for releasing rightsizing in late February/early March.
2024-02-19:
docker-compose.yml
file to facilitate easy setup. This demonstrates the feature in action within the ReadRPC project.
This task is done ā
Goals
Background
ReadRPC is a redesign of the architecture of an RPC node that offers a reduces operational cost while increasing the performance/throughput of the service. It moves away from the regular model of a NEAR node, and it relocated RocksDB as an external DB layer. The goal of ReadRPC is to offer an alternative to running a fleet of RPC nodes by replacing them with a single infrastructure.
As ReadRPC was delivered and placed in production, it became clear that it can replace RPC nodes only for large infrastructure operators, that can afford a ScyllaDB instance. For smaller operators or for app developers that need a slim RPC instance for their own app, ReadRPC is too heavy.
There are two dimensions where ReadRPC can be mare more lightweight: using a thinner DB type and reducing the amount of data it has to manage.
Why should NEAR One work on this
ReadRPC right sizing will make it easier and more appealing to run RPC nodes, and this contributes to having a minimum viable and scalable ecosystem.
What needs to be accomplished
There are two major deliverables included in Rightsizing, and both are required for the project to make sense:
Main use case
The main usecase is to allow RPC operators to adjust the ReadRPC infrastructure, reducing the operational complexity and cost of ReadRPC.
Links to external documentations and discussions
Additional resources will be added here when they become available.
Estimated effort
Engineers assigned: @khorolets and Yurii.
Initial effort estimate is about 4-6 PM (person months). Currently remaining effort is presented in the latest comment of this issue.
Assumptions
There are no specific assumptions that this project is making.
Pre-requisites
N/A
Out of scope
N/A
Task list: