X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3E829329E6D for ; Sat, 2 Oct 2004 22:39:47 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 77994-10 for ; Sat, 2 Oct 2004 21:39:41 +0000 (GMT) Received: from hub.org (hub.org [200.46.204.220]) by svr1.postgresql.org (Postfix) with ESMTP id 9846B329E63 for ; Sat, 2 Oct 2004 22:39:43 +0100 (BST) Received: from localhost (unknown [200.46.204.144]) by hub.org (Postfix) with ESMTP id D688548FF8E for ; Sat, 2 Oct 2004 18:39:38 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 82827-02; Sat, 2 Oct 2004 21:39:34 +0000 (GMT) Received: from ganymede.hub.org (blk-222-46-91.eastlink.ca [24.222.46.91]) by hub.org (Postfix) with ESMTP id 3D30748FF87; Sat, 2 Oct 2004 18:39:33 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id ED45434291; Sat, 2 Oct 2004 18:39:35 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id E928A33C20; Sat, 2 Oct 2004 18:39:35 -0300 (ADT) Date: Sat, 2 Oct 2004 18:39:35 -0300 (ADT) From: "Marc G. Fournier" X-X-Sender: scrappy@ganymede.hub.org To: Devrim GUNDUZ Cc: Dave Page , PostgreSQL WWW Mailing List Subject: Re: Problem with mirrorring In-Reply-To: Message-ID: <20041002183746.Y64687@ganymede.hub.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/28 X-Sequence-Number: 5422 my understanding of rsync is that even if a file changes, only the changes are sent across ... I believe its effectively a 'diff' of the file ... so even if all files timestamps do change, very little data is sent across ... But, aren't there args available for rsync to have it check file size vs timestamp? so it would miss a reversing of characters in a word, but if a single character is added, then the byte size changes and, therefore, it gets updated ... ? On Sat, 2 Oct 2004, Devrim GUNDUZ wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Hi, > > On Sat, 2 Oct 2004, Dave Page wrote: > >>> There was not an 'error' exactly... >> >> Ahh, yes. Of course, that's actually rsync working correctly! No changes >> on the server, so no transfers. > > Umm, every cron job outputs an email of 259K, but when there is a lockfile, > then it decreases to 800 bytes. Rsync gets all the files, even if there is no > change! > >> This does mean that our mirroring is quite innefficient. We really >> should diff the results of each build and only update the html files if >> there is a change. At the moment each mirror is probably pulling the >> whole site each time :-( > > Agreed but... diffing all the files that we have might be quite hard for us > -- But I now don't have a better idea... > > Umm... If we can keep a track of modified files in a db (a new or updated > FAQ, doc, news, etc...) maybe we could publish only them... > > Regards, > > - -- > Devrim GUNDUZ devrim~gunduz.org > devrim.gunduz~linux.org.tr > http://www.tdmsoft.com > http://www.gunduz.org > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.1 (GNU/Linux) > > iD8DBQFBXwi2tl86P3SPfQ4RAm2QAKC8muqKCQbalZp1OK+T6uEMRTYtygCfeiqe > pTOc+oXlqx0ju1R+PpTfXB4= > =8ZdP > -----END PGP SIGNATURE----- > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faqs/FAQ.html > ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664