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

Should there be a limit on client's queries? #36

Open
s-tikhomirov opened this issue Oct 17, 2023 · 1 comment
Open

Should there be a limit on client's queries? #36

s-tikhomirov opened this issue Oct 17, 2023 · 1 comment

Comments

@s-tikhomirov
Copy link
Contributor

A client can overwhelm the server with an excessively long query (an extreme case: "give me all messages form the beginning of times until now"). Should there be a limit on the length of the time frame that a client may request at once?

@alrevuelta
Copy link
Contributor

Indeed. Now that I think about it we have it planned in nwaku. waku-org/nwaku#1809
Not just about limiting the time window allowed per request (eg limitted to 1 week) but the bytes sent in general (which takes into account consecutive requests)

@s-tikhomirov s-tikhomirov changed the title Should there be a limit on Store client's queries? Should there be a limit on client's queries? Nov 16, 2023
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

3 participants