Skip to content
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

Optimize getting contract state and node state #921

Open
Tracked by #818
volovyks opened this issue Nov 5, 2024 · 2 comments
Open
Tracked by #818

Optimize getting contract state and node state #921

volovyks opened this issue Nov 5, 2024 · 2 comments
Assignees
Labels
Emerging Tech Emerging Tech flying formation at Pagoda Near BOS NEAR BOS team at Pagoda

Comments

@volovyks
Copy link
Collaborator

volovyks commented Nov 5, 2024

Description

Ideally, such operations should be placed in a separate thread that is not blocking protocols.
It has not been tested, but it can have a stronger effect when 1+ node is offline since requests are taking more time.

@volovyks volovyks added Near BOS NEAR BOS team at Pagoda Emerging Tech Emerging Tech flying formation at Pagoda labels Nov 5, 2024
@volovyks volovyks moved this from Backlog to Selected in Emerging Technologies Nov 5, 2024
@volovyks
Copy link
Collaborator Author

volovyks commented Nov 5, 2024

We are not doing all /state calls in parallel. So we can optimize it significantly.

@volovyks
Copy link
Collaborator Author

Dashboard idea: once this is done, add metrics about elapsed time since the last contract and node state update. And the alerts on top of it. That will allow us to track RPC and other issues more easily.

@volovyks volovyks moved this from In Progress to Backlog in Emerging Technologies Nov 27, 2024
@volovyks volovyks mentioned this issue Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Emerging Tech Emerging Tech flying formation at Pagoda Near BOS NEAR BOS team at Pagoda
Projects
Status: Backlog
Development

No branches or pull requests

2 participants