-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into mak-revive-baseline
- Loading branch information
Showing
14 changed files
with
370 additions
and
486 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0 | ||
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json | ||
|
||
title: make RPC endpoint `chainHead_v1_storage` faster | ||
|
||
doc: | ||
- audience: Node Operator | ||
description: | | ||
The RPC endpoint `chainHead_v1_storage` now relies solely on backpressure to | ||
determine how quickly to serve back values instead of handing back a fixed number | ||
of entries and then expecting the client to ask for more. This should improve the | ||
throughput for bigger storage queries significantly. | ||
|
||
Benchmarks using subxt on localhost: | ||
- Iterate over 10 accounts on westend-dev -> ~2-3x faster | ||
- Fetch 1024 storage values (i.e, not descedant values) -> ~50x faster | ||
- Fetch 1024 descendant values -> ~500x faster | ||
|
||
crates: | ||
- name: sc-rpc-spec-v2 | ||
bump: major | ||
- name: sc-rpc-server | ||
bump: patch | ||
- name: sc-service | ||
bump: major |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.