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

Allow services to rate limit requests #36

Open
Zarquan opened this issue Oct 6, 2023 · 0 comments
Open

Allow services to rate limit requests #36

Zarquan opened this issue Oct 6, 2023 · 0 comments

Comments

@Zarquan
Copy link
Member

Zarquan commented Oct 6, 2023

Need to recognise that there is a potential denial of service attack here.
https://github.com/ivoa-std/ExecutionPlanner/blob/978495a7df8c7d3dad688400a7240ca9f4db76c0/ExecutionPlanner.tex#L2263-L2277

Sending lots of requests in a short period of time will use up all the available resources and block other clients from using the service. To mitigate this, a service implementation MAY rate limit the number of requests at a time a client may make.

This may mean blocking un-authenticated clients based on IP address.

We should specify the HTTP error code a blocked client would receive.

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

No branches or pull requests

1 participant