Default performance of ‘lp:foo’ URLs
Robert Collins
robert.collins at canonical.com
Tue Dec 1 02:37:28 GMT 2009
On Tue, 2009-12-01 at 12:06 +1100, Martin Pool wrote:
> 2009/12/1 Aaron Bentley <aaron at aaronbentley.com>:
> > Jonathan Lange wrote:
> >> However, if anyone feels strongly enough about this to provide some
> >> patches for this, I'd be happy to help them.
> >
> > I think we should implement bzr+http support for code hosting. bzr will
> > automatically detect bzr+http support at http URLs, so we won't have to
> > change the lookup mechanism, and http will get through more firewalls
> > than bzr protocol. It also avoids increasing the number of protocol
> > options we provide to users.
>
> On the other hand, it's more likely to be messed with by firewalls (as
> opposed to just failing cleanly), and while there's less startup cost
> there may be more per-request cost, because of http post overhead.
> (Facts needed.)
What is 'it' in the paragraph above? If you mean bzr+http, it should be
less problematic than just http as it has no range requests and POST is
pretty bog standard for web sites.
..
> I think it's nice that ssh provides some socket-level integrity
> checks; these do sometimes detect network errors in a way that tells
> us it's not bzr's fault. It's not specifically more secure against
> bad clients but it would protect more against people trying to
> interfere with the stream.
We can do bzr+https :).
> Stephen asks:
>
> > Is it as easy or easier for sysadmins to implement/manage this as it is to implement/manage anonymous ssh?
>
> I think it's within measurement error which of them is easier. It
> just needs someone to do it.
I'm not sure that it is easier - anonymous ssh may need clientside
handholding (facts needed).
That said, loggerhead already supports bzr+http, so it is roughly 'just
pass .bzr/smart to loggerhead' to get it enabled on Launchpad.
-Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20091201/21463cae/attachment.pgp
More information about the bazaar
mailing list