[Cialug] instant replication with rsync

Matthew Nuzum newz at bearfruit.org
Tue Jan 13 11:37:45 CST 2009


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.

Setting rsync to run at 1min intervals would not do this because if
you upload an image you want to see it right away. Also, on a busy day
there may be 10 - 20 images uploaded. If you have multiple servers
running rsync at one min intervals it would be a bit wasteful.

-- 
Matthew Nuzum
newz2000 on freenode, skype, linkedin, identi.ca and twitter


More information about the Cialug mailing list