[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Deltification (WAS: Re: Subversion 0.33.0 released).

From: Jan Evert van Grootheest <j.grootheest_at_euronext.nl>
Date: 2003-11-14 17:07:54 CET

(I'm a programmer but know nothing of svn internals, so take the idea and
lose the details)
(I also realise that this is more dev-list oriented, but I'm not subscribed
there...)

Wouldn't it be possible to do the deltification after doing the commit and
respondig to the client?
The commit is already operating in some thread, so why not use that for a
while longer and re-order the actions?

Something like the (stupidly written) example below.

Even the post-commit hook could be moved to run after sending the response
to the client. Its results do not affect the commit anyway (IIRC).

-- Jan Evert

------- previously ---------
void deal_with_checkin()
{
        collect changes from client();
        begin commit();
        run pre-commit hook();
        deltify changes();
        save changes();
        end commit();
        run post-commit hook();
        send response to client();
}

--------- new --------------
void deal_with_checkin()
{
        collect changes();
        run pre-commit hook();
        begin commit();
        save changes();
        end commit();
        send response to client();
        run post-commit hook();
        deltify changes();
}

> -----Original Message-----
> From: Jason Voegele [SMTP:jason@jvoegele.com]
> Sent: Friday, November 14, 2003 2:06 PM
> To: users@subversion.tigris.org
> Subject: Re: Deltification (WAS: Re: Subversion 0.33.0 released).
>
> Leeuw van der, Tim said:
> > I'd actually like to see this a per-repository configurable option.
> [snip]
> > Telling people: 'install a script as a hook, make up your own here's a
> > sample, or svn will eat diskspace like there's no tomorrow' is not a
> > good way to attract newbie type of users. The same sort of users who
> > will access their repositories via 'file://' urls because you don't need
> > to do any kind of setup for that, no servers to install etc.
> >
> > And I think that that's a bad thing.
>
> I'm afraid I have to agree with Tim here. This solution to slow
> deltification merely seems to pass the buck to the administrator, who may
> in many cases be an end user simply wishing to replace CVS on their local
> machine.
>
> I know, a patch speaks louder than words, but I at least wanted to express
> my concern about this approach and, I hope, foster some further discussion
> about other possible solutions.
>
> (BTW, I accidentally sent this message only to Tim the first time around.
> Is it possible to set the Reply-To: header to the mailing list?)
>
> --
> Jason Voegele
> "There is an essential core at the center of each man and woman that
> remains unaltered no matter how life's externals may be transformed
> or recombined. But it's smaller than we think."
> -- Gene Wolfe, The Book of the Long Sun
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
 

 === E U R O N E X T - D I S C L A I M E R =============================

 This e-mail and its attachments are only intended for the individual(s) or
entity(entities) named above to whom they are addressed and may contain
personal and/or confidential information. Please notify us immediately if
you are not the intended recipient. Any dissemination, duplication,
publication to third parties or other use of the contents of this e-mail or
its attachments is forbidden. Although this information has been compiled
with great care, neither Euronext N.V. nor its subsidiaries shall accept any
responsibility for any errors, omissions or other inaccuracies in this
information or for the consequences thereof, nor shall it be bound in any
way by the contents of this e-mail or its attachments. In the event of
incomplete or incorrect transmission please return the e-mail to the sender.

 Cet e-mail et ses annexes sont uniquement destinés à la (aux) personne(s),
ou à l' (aux) entité(s) à laquelle (auxquelle(s)) il est adressé, visée (s)
en tête du présent message. Il peut contenir des informations personnelles
ou confidentielles. Merci de nous notifier immédiatement si cet e-mail vous
a été adressé par erreur. Toute diffusion, copie, publication à des tiers ou
toute autre utilisation de son contenu est interdite. Bien que cette
information ait été rassemblée avec une grande attention, ni Euronext N.V.
ni aucune de ses filiales, ne peut être tenue responsable des erreurs,
omissions ou inexactitudes contenues dans cette information, ni ne peut être
liée d'aucune manière par le contenu de cet e-mail ou ses annexes. En cas de
transmission incorrecte ou incomplète, nous vous prions de retourner cet
e-mail à son émetteur.

 Deze e-mail en zijn bijlagen zijn uitsluitend bestemd voor de
geadresseerde(n) als op dit e-mailblad vermeld. Het is mogelijk dat deze
e-mail persoonlijke en/of vertrouwelijke informatie bevat. Wanneer u niet de
geadresseerde bent, verzoeken wij u dringend ons daarvan te berichten. Elke
verspreiding, vermenigvuldiging, gebruik of openbaarmaking aan derden van de
inhoud van deze e-mail en zijn bijlagen, is verboden. Hoewel deze informatie
met de meeste zorg is samengesteld is Euronext N.V., en de tot Euronext N.V.
behorende werkmaatschappijen, op geen enkele wijze aansprakelijk voor
eventuele fouten, omissies of andere onjuistheden in deze informatie of de
gevolgen daarvan noch op enigerlei wijze gebonden aan de inhoud van de
e-mail of zijn bijlagen. Gelieve, in geval van onjuiste of onvolledige
ontvangst, deze e-mail terug te sturen naar de afzender.

 ================================

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 14 17:11:53 2003

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.