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

Storage limits #42

Open
2 tasks
Nuhvi opened this issue Oct 14, 2024 · 0 comments
Open
2 tasks

Storage limits #42

Nuhvi opened this issue Oct 14, 2024 · 0 comments
Assignees
Labels
datastore The data storage, replication, and gc in the homeserver

Comments

@Nuhvi
Copy link
Collaborator

Nuhvi commented Oct 14, 2024

Should we limit the User overall storage?
Yes, not sure to what, but maybe something like 1GB?
Should we also have a maximum file size that is large enough to apply to almost everything or is that redundant?
Yes, maybe 100MB limit for now?
Should we rate-limit uploads? i.e how many GB a user can upload per day?
Yes, we should at least have some throttles in place for abusive write/delete patterns.

  • Track per-user storage consumption
  • Return an error on user storage limit
@Nuhvi Nuhvi added the datastore The data storage, replication, and gc in the homeserver label Oct 14, 2024
@Nuhvi Nuhvi self-assigned this Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datastore The data storage, replication, and gc in the homeserver
Projects
None yet
Development

No branches or pull requests

1 participant