public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Brian Harring <ferringb@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev]  Re: emerge-webrsync bandwidth improvement
Date: Mon, 9 May 2005 05:50:19 -0500	[thread overview]
Message-ID: <20050509105019.GD26049@exodus.wit.org> (raw)
In-Reply-To: <427F0CC5.3010000@b-i-t.de>

On Mon, May 09, 2005 at 09:09:57AM +0200, sf wrote:
> Brian Harring wrote:
> ...
> > B) Permenant solution needed for when snapshots upstream aren't 
> >    generated, as occured 04/29.  This probably will have to be 
> >    serverside- easiest route, otherwise have to implement version 
> >    jumping logic in bash, which is ugly
> 
> Generate an empty delta when no snapshot exists?
Doesn't really work that way; each patch basically is a list of 
commands, multiple patches == pulling bits/pieces of commands from 
the the referencing version for that patch.
Basically it's overlaying commands; an empty patch would break the 
chain.  While it doesn't sound perfect/pretty, generating a patch that 
is just a copy of the reference (the command list is just a copy of 
all of the reference file to the versioned file).  It's actually 
easier/cleaner to go this route, then modify the client- the client's 
approach is simply, I get patch from day N-1 to N, wash rinse repeat.  

Modifying it to handle arbitrary jumps basically means the client has 
to inspect the remote server for what's available, rather then 
just making an attempt for a fetch.  It's easiest, and is only around 
60 bytes per day upstream snapshots go out... so it's minor overhead, 
and shouldn't occur all that often :)

> > C) cleansing of old snapshots.  Current 'handling' of it (read: not 
> >    doing a damn thing) is ugly.  :)
> 
> Always create the most recent snapshot and delete old snapshots and all
> deltas?
Pretty much.  Pushed emerge-delta-webrsync-2 into the tree last 
friday, should address all of the issues I mentioned.
~brian
-- 
gentoo-dev@gentoo.org mailing list


      reply	other threads:[~2005-05-09 10:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-22 13:01 [gentoo-dev] emerge-webrsync bandwidth improvement Brian Harring
2005-05-04 12:27 ` [gentoo-dev] " sf
2005-05-05  3:02   ` Brian Harring
2005-05-09  7:09     ` sf
2005-05-09 10:50       ` Brian Harring [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050509105019.GD26049@exodus.wit.org \
    --to=ferringb@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox