Skip to content

Enhancement: Elya Stats Caching#3072

Closed
ghost wants to merge 211 commits into
mainfrom
unknown repository
Closed

Enhancement: Elya Stats Caching#3072
ghost wants to merge 211 commits into
mainfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented May 2, 2026

Summary

This PR improves the performance and scalability of the Elya Service by adding response caching to the stats endpoint.

Changes

  1. Response Caching: Introduced a lightweight 10-second cache () for the endpoint.
  2. Resource Optimization: Prevents the server from re-calculating network statistics (like current slot, epoch, and active miner count) for every single request, which is critical when multiple block explorers or dashboards are polling the node simultaneously.
  3. Improved Scalability: Ensures that the node remains responsive under high API traffic without impacting timing-sensitive attestation processing.

Closes #2295

Michael Sovereign added 30 commits April 12, 2026 16:30
MichaelSovereign added 20 commits May 2, 2026 08:44
…esponse to support better search result UI
…g for improved device tracking and consistency across OS reports
…y enforcing 8 decimal places to prevent cumulative rounding errors
…tatic pepper to improve identity privacy and prevent rainbow table attacks
…anager for improved auditing and troubleshooting
…ed network resource monitoring and leak detection
… Elya Service to prevent calculation errors from negative slots
…oint to optimize server performance and reduce redundant document generation
…c pepper to improve device privacy and prevent cross-node linkability
…ager to support efficient partial state updates
…for improved restart detection and uptime auditing
… during epoch finalization to ensure pro-rata rewards are distributed consistently
…rdware Binding for improved brute-force protection
…oint in Elya Service to reduce server load from high-frequency explorer polling
@ghost ghost requested a review from Scottcjn as a code owner May 2, 2026 08:23
@github-actions github-actions Bot added BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) BCOS-L2 Beacon Certified Open Source tier BCOS-L2 (required for non-doc PRs) consensus Consensus/RIP-200 related node Node server related tests Test suite changes size/XL PR: 500+ lines labels May 2, 2026
@ghost
Copy link
Copy Markdown
Author

ghost commented May 2, 2026

Automated cleanup of polluted PRs. I am fixing the local workspace state.

@ghost
Copy link
Copy Markdown
Author

ghost commented May 2, 2026

Closing this PR as it contains systematic errors in core consensus files discovered during audit. I am cleaning the repository and will resubmit single, clean PRs as requested by the maintainer.

@ghost ghost closed this May 2, 2026
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) BCOS-L2 Beacon Certified Open Source tier BCOS-L2 (required for non-doc PRs) consensus Consensus/RIP-200 related node Node server related size/XL PR: 500+ lines tests Test suite changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants