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

Implement concurrency limit for notary server #640

Open
yuroitaki opened this issue Oct 16, 2024 · 0 comments
Open

Implement concurrency limit for notary server #640

yuroitaki opened this issue Oct 16, 2024 · 0 comments
Labels
notary server Improvements or problems in the notary server reference implementation

Comments

@yuroitaki
Copy link
Member

Notarization is a resource consuming operation — to prevent being swamped by too many concurrent notarization requests, notary server should limit the number of notarizations that it will process at any point of time. Any notarization request beyond the limit will be put on hold, and served when there is available 'slot'.

One should look into the pros and cons of implementing this in the notary server application code itself or in a reverse proxy — factoring in UX and the fact that some notary server might run multiple versions in the same machine (e.g. PSE's). Also, we might need a queue system to decide which put-on-hold request to serve first.

Alternatively, horizontal scaling can be used to achieve the same objective.

@yuroitaki yuroitaki added the notary server Improvements or problems in the notary server reference implementation label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notary server Improvements or problems in the notary server reference implementation
Projects
None yet
Development

No branches or pull requests

1 participant