-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improved concurrency performance #332
Comments
I think we can also do some caching for |
so basically if many request comes in, they can share the same instance of But still, this is just a workaround we can do, it will definitely be nice to improve concurrency performance from the api itself |
Yes, the api has fixed some of the problems. But it still creates a new api object for each blockhash, which can cause a lot of memory consumption and service crash when processing many requests at the same time. I will create a block registry based cache. |
polkadot-js/api#4707
The text was updated successfully, but these errors were encountered: