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

DoS considerations #10

Open
Swader opened this issue Mar 2, 2021 · 0 comments
Open

DoS considerations #10

Swader opened this issue Mar 2, 2021 · 0 comments

Comments

@Swader
Copy link
Contributor

Swader commented Mar 2, 2021

The original idea I had was to automate (Github Action cronjob) the fetcher to append to an in-repo file and commit it once per minute. This would keep the tools as the canonical source of current remarks on the chain. However, if someone were to start uploading large files, that text file would get large fast, wrecking the repo and all tools that consume it.

Instead, the proposal is to:

  • create a light-append mode which only appends information about when a remark took place, its type, and everything about it, but not the remark itself. The body would not be saved.
  • ping a sidecar instance, like so: https://sidecar.rmrk.app/blocks/5393445 to retrieve the actual remark, regardless of its size
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