Steroids for Rsync!

Jan-Benedict Glaw jbglaw at lug-owl.de
Thu Mar 3 08:41:10 GMT 2005


On Wed, 2005-03-02 16:11:52 -0800, Scott Becker <scottb at bxwa.com>
wrote in message <42265648.1000507 at bxwa.com>:
> I've been researching the state of 'file alteration monitoring' 
> technology on Linux. Famd uses dnotify to inefficently monitor a handful 
> of directories. The replacement for dnotify is being worked on in the 
> kenel and it's called inotify. If I understand it correctly and they get 
> it finished, it would be an awesome addition to rsync. With it, you 
> could run rsync to update a remote system (push mode) and keep it 
> up2date. With inotify efficiently feeding 'file opened for write was 
> just closed' notifications to rsync, it could efficiently and 
> continuously mirror an active file system. With enough bandwidth, the 
> time lag could be mere seconds.

Again, this reminds me to some preload library I wrote for this purpose.
It intercepted all file-manipulating library calls and replicated it to
a number of sync'ed servers.

> My challenge is to mirror 300 gigs of half meg files on to three remote 
> filesystems, afap. Most of the files are 'write and leave for two 
> months' with some being 'write 4 times a day' so rsync should be perfect 
> if it can be told right after the file is created. We are installing 
> fiber to our building so this might be the perfect combination to come 
> up with a five second mirror performance.

I'd defitively rewrite it, since the initial implementation isn't any
longer available to me...

MfG, JBG

-- 
Jan-Benedict Glaw       jbglaw at lug-owl.de    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/rsync/attachments/20050303/1a69307d/attachment.bin


More information about the rsync mailing list