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

Web console to get real-time peer data #3557

Closed
BruceAko opened this issue Oct 7, 2024 · 1 comment
Closed

Web console to get real-time peer data #3557

BruceAko opened this issue Oct 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@BruceAko
Copy link
Contributor

BruceAko commented Oct 7, 2024

Feature request:

Currently peer data shown in web console is T+1. In more detail, when a user gets Peers information through a Web page, the information is queried from the database. The Peers metadata in the database is captured by a Sync Peers timer task that goes to the cluster every once in a while and stores it in the database. This results in the Peers information displayed on the web page not being up-to-date in real-time.

Use case:

The Sync Peers feature would be modified to remove the Peers information from the database and query the latest data from the cluster each time a Web page calls the interface. The queried data will be cached in Redis, so that users can fetch the Redis cache on subsequent visits, so that repeated queries don't slow things down. In the end, the synchronization process is changed from a timed process to a query-per-query process.

UI Example:

image

@BruceAko
Copy link
Contributor Author

Same as #3589.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant