Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

We split files into two levels of folders. For instance if a video has a filename "somethingsomethingXY" it will go into "videos/y/x/" folder. Then it's up to our sys admins to mount those folders to whichever disk they want. So from the app's point of view it doesn't matter where the file actually is. And we backup everything every couple of hours.

Like I said, nothing fancy but it works without any issues (apart from a small delay when you have to copy the file to 2 or 3 different servers (redundancy) before it becomes available, but it's not a big problem but I have few ideas how to solve that if it becomes one :)).



Thank you very much for sharing this.

Wish you all the best to hit and solve that problem (meaning you'll be successful by that time I'm guessing (^_^)).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: