Bzr's startup time

John A Meinel john at arbash-meinel.com
Tue Jun 27 13:05:17 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthieu Moy wrote:
> "TK Soh" <teekaysoh at gmail.com> writes:
> 
>> On 6/26/06, John A Meinel <john at arbash-meinel.com> wrote:
>>> However, it all pales in comparison to the 'service' plugin, which can
>>> get the times down to 50ms, and 10ms. But that isn't as practical as a
>>> general solution.
>> 'service' plugin'? Care to shed some light? Sorry I am really new to this.
> 
> run "bzr service" somewhere, and then a client connects to this little
> server, which does the actual job. See the plugin registry on the
> wiki.
> 
> Last time I checked, it had two problems:
> 
> 1. The server listens to everything comming from localhost, including
>    other users. I'd therefore not use it in my lab where it would mean
>    giving full access to everyone in the lab to my account, and I
>    wouldn't recommand using it until this is fixed.
> 
> 2. External commands are launched on the server side, so "bzr commit"
>    without argument will launch the text editor in the term where you
>    started the server.
> 

The first is easy to fix. I've been a bit of a slacker on it :) But I
did look into how to use NamedPipe on windows (which acts more like a
socket than a FIFO, since you can have more than one client connect to
it at one time).

The 2nd is a little bit trickier.
It might mean making the client get all subprocess requests, like
spawning an editor, or gpg. I think it is possible, but it was more than
my original hack. (The original one just captures the output, and feeds
it back down the line, quite simple)

John
=;->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEoR78JdeBCYSNAAMRAtd/AKDLVkhs++NhIswAZKVvEWW4nuZiogCgohlK
r/fwj4UPvGlr8ML1MiQ1JK0=
=aEzQ
-----END PGP SIGNATURE-----




More information about the bazaar mailing list