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

get_info off the main thread #1212

Closed
heifner opened this issue May 24, 2023 · 3 comments
Closed

get_info off the main thread #1212

heifner opened this issue May 24, 2023 · 3 comments
Labels
actionable enhancement New feature or request

Comments

@heifner
Copy link
Member

heifner commented May 24, 2023

Currently /v1/chain/get_info processing is posted to the main thread. get_info could be moved off the main thread by copying the current get_info data into the get_info_results struct on every accept_block signal. Then get_info could be handled completely off the main thread.

@heifner heifner added enhancement New feature or request and removed triage labels May 24, 2023
@enf-ci-bot enf-ci-bot moved this to Todo in Team Backlog May 24, 2023
@matthewdarwin
Copy link

matthewdarwin commented May 27, 2023

FWIW, from time to time /v1/chain/get_info is either the #1 or #2 API call made to the EOS Nation endpoints. Usually second after get_table_rows. Last 24 hrs for WAX:

image

We cache the response on the load balancer for 1 second to avoid overloading nodeos.

@matthewdarwin
Copy link

All chains, last 24 hrs:

image

@heifner
Copy link
Member Author

heifner commented Aug 13, 2024

Moved to Spring AntelopeIO/spring#527

@heifner heifner closed this as not planned Won't fix, can't repro, duplicate, stale Aug 13, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Team Backlog Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
actionable enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

3 participants