[Cialug] instant replication with rsync
Paul Gray
gray at cs.uni.edu
Tue Jan 13 11:47:25 CST 2009
Matthew Nuzum wrote:
> Is there a way to use rsync (or a similar tool) to get near instant replication?
>
> Scenario, you have a website that allows users to upload images. Files
> are uploaded several times per day at unpredictable intervals. You
> want the images to appear instantly regardless of which webserver they
> were uploaded on.
How are users uploading? If they're uploading via a web front-end, then
having the upload script do an rsync following any uploads would make the
most sense. You can also mount the filesystem across your web servers via
nfs, etc...which would make sense if they had a common backend network for
filesharing.
-PG
More information about the Cialug
mailing list