💾 Archived View for auragem.letz.dev › music › quota captured on 2024-05-10 at 11:23:36. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-03-21)
-=-=-=-=-=-=-
Each song adds to your quota 1 divided by the number of people who have uploaded that same song. If 3 people have uploaded the 3 same songs, only 1 song gets added to each person's quota (3 songs / 3 uploaders). However, if you are the only person who has uploaded a song, then 1 will be added to your quota (1 song / 1 uploader). The maximum quota that each user has is currently set to 500.
Note that the below calculations assume an average mp3 file size of 7.78 MB per song:
If 38 people uploaded 1000 *unique* songs, that would fill up ~288.8 GB. But if 38 people uploaded the same 1000 songs, that would only be as if one person uploaded those 1000 songs, and that'd only be ~7.6 GB. And the quota added to each person is 1000 songs / 38 uploaders = 26.3
Which means that leaves each user with 973.7 more songs. If each user uploaded 973.7 *unique* songs, that would take up ~281 GB. 281 GB + the 7.6 GB for the 1000 non-unique songs would equal ~288.6 GB
The idea behind this system is to take into account duplicate uploads as being considered only 1 upload, because I use deduplication of song files to save space. By dividing an upload across the number of users that have uploaded that file, each user gets the same slice of quota, and the sum adds up to 1.