I run a file sharing site, which is quickly growing in popularity.
Right now my web app is on AWS elastic beanstalk so of course scales up beautifully, however my files are currently all served from a single dedicated box. The box is starting to max out its 1gbps connection, so i'm trying to research how to scale the file storage up too.
NB: I also have all the file synced to S3, but its far too costly to serve them from there due to S3 bandwidth charges. My dedicated box is unmetered.
So far I've seen talk of DRBD and Lsyncd, but neither feel like what I'm looking for.
Any advice on the best setup for running multiple file storage linux boxes in real time sync behind a load balancer would be GREATLY appreciated.
P.S - worth noting my ideal scenario is they are all in sync at all times, so if a file is added to one box, it is synced across all boxes. Same for when a file is deleted.