Usage of archival RPC for fetching versioned components #380
Replies: 3 comments 8 replies
-
We can accomodate the load. How much load are we talking about here? |
Beta Was this translation helpful? Give feedback.
-
@mpeterdev should BWE use RPC by default, or our QueryAPI components indexer? Your question about decentralization is a good one. Perhaps we add RPC/QueryAPI configs into the BWE initialization method to allow devs to choose their preferred provider. hey @s-n-park we could use your help to get an idea of the frequency of requests made to URLs of the form (near.social/near.org)//widget/ |
Beta Was this translation helpful? Give feedback.
-
@mpeterdev Pavel's Q2 objective for QueryAPI is to be the preferred solution for building custom indexers for Near. We should work with them to build QueryAPI into BWE to minimize the custom code necessary to fetch data from one of our core indexers. It's also worth considering the impact on developer UX & UI performance of using RPC or QueryAPI as default for archival data needs. |
Beta Was this translation helpful? Give feedback.
-
We have work in progress to allow specifying the block height version of a component to load. If the version is not highly recent, then the fetch cannot be resolved by a standard RPC node.
The previous BOS VM handles this by sending all component fetches which specify a blockheight to the near.org archival RPC node.
We will be making a functional change to BWE where a significantly higher portion of component fetches will have a block height specified since the default behavior will be to lock child component versions based on their parent's publish block height.
Two main questions:
Beta Was this translation helpful? Give feedback.
All reactions