This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Quotas for file and event storage #3339
Labels
A-Media-Repository
Uploading, downloading images and video, thumbnailing
A-Moderation
Tools for moderating HSes: event redaction, media removal, purge admin API, reports from users, ...
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
Something that keeps coming up is the need to track which users are responsible for chewing all the storage on your server - whether that's by storing lots of stuff in the media repo, or by joining massive rooms and chewing all your DB (or submitting loads of events).
We probably need to distinguish storage which the user created directly (i.e. by sending a file or event) or indirectly (by accessing a file or a room).
We probably care more about directly attributable storage costs, as indirect ones are going to be shared across a bunch of users - plus tracking the indirect ones could result in a metadata leak for e2e rooms (i.e. which users have access to the files in a given room)
The text was updated successfully, but these errors were encountered: