Feature #124
Rearrange media storage folders
| Status: | Closed | Start: | ||
| Priority: | High | Due date: | ||
| Assigned to: | yossarian | % Done: | 0% |
|
| Category: | Content | |||
| Target version: | wish list | |||
| Resolution: | fixed |
Description
<occam> oh boy <occam> http://indymedia.dk/system/photo/file/12/topapril2008.jpg how do you build that path? <occam> whats 12? internal id for the image? <occam> http://indymedia.dk/system/photo/file/2008/04/12/topapril2008.jpg << should scale better on the file system <kwadronaut> yesyesyes occam! <kwadronaut> thanks for telling that <yossarian> 12 is the id of the image yeah * kwadronaut has bad experiences with old and popular sfa sites <yossarian> can you tell me more about why that works better on the file system? <occam> we still have sites not using upload/$year/?!?! <kwadronaut> because it would take 10k years before your ls is giving bogus output yossarian <yossarian> hahahahah <kwadronaut> occam: radio.indymedia.org <occam> file systems have a tree of informatins about the files in a directory... if you have too many files in one directory, it takes way much longer to build these informations... so things like a rsync will take a couple of times longer as if you split up thing into years <kwadronaut> that's the nice way of phrasing it <occam> also, you scale better with the diskspace usage <occam> and bandwith <occam> since that dir structure allows you to split things up by years... <occam> so 2001-2007 could be on one mirror, and the current stuff on another <occam> also, do that with all your media and static files expect the logo or so <yossarian> ok, i'll file a ticket for this <occam> audio, video, articles.. <yossarian> i already have one for events and articles <yossarian> but we'll need it for the media too <occam> $year/$month is minimum <occam> year only would not scale <occam> if you think big you include $day ;)
History
Updated by yossarian over 3 years ago
- Status changed from New to Closed
- Resolution set to fixed
Is all done.