You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rate-limiting in jsonrpsee has been replaced by JSON-RPC specific middleware and backpressure.
The way forward is that substrate should provide rate limiting and additional APIs for builders to provide their own custom middleware for similar things.
Thus, what I have in mind is that substrate/polkadot-sdk should provide the following:
New CLI option to enable global rate limiting such --rpc-rate-limit <CALLS_PER_MINUTE>
Rewrite RpcMetrics as JSON-RPC specific middleware
Alternatives
https://github.com/AcalaNetwork/subway is a RPC proxy that does similar things but has more functionality but I reckon it may be nice for builders to have something simple to use in polkadot-sdk useful.
The text was updated successfully, but these errors were encountered:
Add RPC server rate limiting which can be utilized by the CLI
`--rpc-rate-limit <calls/per minute>`
Resolves first part of
#3028
//cc @PierreBesson@kogeler you might be interested in this one
---------
Co-authored-by: James Wilson <james@jsdw.me>
Co-authored-by: Xiliang Chen <xlchen1291@gmail.com>
Add RPC server rate limiting which can be utilized by the CLI
`--rpc-rate-limit <calls/per minute>`
Resolves first part of
paritytech#3028
//cc @PierreBesson@kogeler you might be interested in this one
---------
Co-authored-by: James Wilson <james@jsdw.me>
Co-authored-by: Xiliang Chen <xlchen1291@gmail.com>
Superseeds #47
The rate-limiting in jsonrpsee has been replaced by JSON-RPC specific middleware and backpressure.
The way forward is that substrate should provide rate limiting and additional APIs for builders to provide their own custom middleware for similar things.
Thus, what I have in mind is that substrate/polkadot-sdk should provide the following:
--rpc-rate-limit <CALLS_PER_MINUTE>
Alternatives
https://github.com/AcalaNetwork/subway is a RPC proxy that does similar things but has more functionality but I reckon it may be nice for builders to have something simple to use in polkadot-sdk useful.
The text was updated successfully, but these errors were encountered: