Closed
Bug 387368
Opened 19 years ago
Closed 18 years ago
Joey Server - hashes to determine duplicate files between users
Categories
(Mozilla Labs :: Joey, defect)
Mozilla Labs
Joey
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: clouserw, Unassigned)
Details
(Whiteboard: marked_as_wfm_due_to_project_retirement)
I don't want to forget this idea, so I'm making a bug:
I think we're going to have a lot of duplicate media - once something gets popular on the internet, everyone wants a copy.
So, if we take hashes of files, we can just point users to files/previews/etc. that already exist - this would save us processing power (transcoding) and disk space.
I think the db can support relationships like this, but the file system probably can't (uploads go into a specific user's directory).
Updated•19 years ago
|
Summary: Use hashes to determine duplicate files between users → Joey Server - hashes to determine duplicate files between users
| Reporter | ||
Comment 1•19 years ago
|
||
We talked about this at the allhands. Current plan is to store a hash with each file row. When a new user uploads, we check the hash. If it matches, we just add another row in the map table, otherwise we add a row and do the transcode.
This means we'll have to change the way we store files on disk. Currently it's /$userid/. We'd need to change that to /$hash/.
| Reporter | ||
Comment 2•19 years ago
|
||
From the whiteboard:
Remove uploads_users.owner and uploads.shared.
Comment 3•18 years ago
|
||
Joey has been retired. Thanks for participating.
http://joey.labs.mozilla.com/
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
Whiteboard: marked_as_wfm_due_to_project_retirement
You need to log in
before you can comment on or make changes to this bug.
Description
•