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

Certificate pending route overwhelms the Cardano node in aggregator #1804

Closed
3 tasks done
jpraynaud opened this issue Jul 5, 2024 · 0 comments · Fixed by #1808
Closed
3 tasks done

Certificate pending route overwhelms the Cardano node in aggregator #1804

jpraynaud opened this issue Jul 5, 2024 · 0 comments · Fixed by #1808
Assignees
Labels
performances 🥇 Performances

Comments

@jpraynaud
Copy link
Member

jpraynaud commented Jul 5, 2024

Why

The Cardano node suffers socket resource exhaustion as explained in the #1803. After investigation, it appears that the cause of the exhaustion is that the pending certificate route of the aggregator is making a call to the Chain Observer to retrieve some information since PR #1601.

What

Remove the call to the Chain Observer and use information from the pending certificate instead

How

  • Remove the call to the Chain Observer to retrieve the current time point in the aggregator route
  • Make beacon field optional in CertificatePendingMessage of Open API
  • Benchmark performance of the pending certificate route (before/after)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performances 🥇 Performances
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants