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

Hey, thank you so much for the information. I hope you don't mind to share a little bit more (it's okay if you don't reply due to IP or whatnot, I'll understand).

How do you handle where to put the files on which disks? do you write custom software or there's some sort of off-the-shelf software to do this?

The reason I asked about this is because it looked like a few people I talked to seem to prefer to use Distributed File System such as HBase, GlusterFS or something else so that they don't have to write extra code.

And I'm guessing you back them all up on daily base as well?



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: