AntelopeIO / leap

C++ implementation of the Antelope protocol
Other
116 stars 70 forks source link

get_info off the main thread #1212

Closed heifner closed 1 month ago

heifner commented 1 year ago

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.

matthewdarwin commented 1 year ago

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 commented 1 year ago

All chains, last 24 hrs:

image

heifner commented 1 month ago

Moved to Spring https://github.com/AntelopeIO/spring/issues/527