From: Tristan Wibberley <maihem@maihem.org>
To: linux-kernel@vger.kernel.org
Subject: Re: Mercurial 0.4e vs git network pull
Date: Mon, 16 May 2005 23:22:11 +0100 [thread overview]
Message-ID: <1116282131.6141.8.camel@localhost.localdomain> (raw)
In-Reply-To: <20050515124042.GE13024@pasky.ji.cz>
On Sun, 2005-05-15 at 14:40 +0200, Petr Baudis wrote:
> Dear diary, on Sun, May 15, 2005 at 01:22:19PM CEST, I got a letter
> where "Adam J. Richter" <adam@yggdrasil.com> told me that...
> >
> > I don't understand what was wrong with Jeff Garzik's previous
> > suggestion of using http/1.1 pipelining to coalesce the round trips.
> > If you're worried about queuing too many http/1.1 requests, the client
> > could adopt a policy of not having more than a certain number of
> > requests outstanding or perhaps even making a new http connection
> > after a certain number of requests to avoid starving other clients
> > when the number of clients doing one of these transfers exceeds the
> > number of threads that the http server uses.
>
> The problem is that to fetch a revision tree, you have to
>
> send request for commit A
> receive commit A
> look at commit A for list of its parents
> send request for the parents
> receive the parents
> look inside for list of its parents
> ...
What about IMAP? You could ask for just the parents for several messages
(via a message header), then start asking for message bodies (with the
juicy stuff in). You could also ask for a list of the new commits then
ask for each of the bodies (several at a time). Not as good as a "Just
give me all new data", but an *awful* lot more efficient than HTTP. And
very flexible. You just need to map changesets to IMAP messages (if such
a mapping can actually make sense :)
Prolly a bit more work though.
--
Tristan Wibberley
The opinions expressed in this message are my own opinions and not those
of my employer.
next prev parent reply other threads:[~2005-05-16 22:28 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-15 11:22 Mercurial 0.4e vs git network pull Adam J. Richter
2005-05-15 12:40 ` Petr Baudis
2005-05-16 22:22 ` Tristan Wibberley
2005-05-16 22:22 ` Tristan Wibberley [this message]
2005-05-15 17:39 ` Matt Mackall
2005-05-15 18:23 ` Jeff Garzik
2005-05-16 1:12 ` Matt Mackall
2005-05-16 9:29 ` Matthias Urlichs
2005-05-16 9:29 ` Matthias Urlichs
-- strict thread matches above, loose matches on Subject: below --
2005-05-15 11:52 Adam J. Richter
2005-05-15 14:23 ` Petr Baudis
2005-05-12 9:44 Matt Mackall
2005-05-12 18:23 ` Petr Baudis
2005-05-12 20:11 ` Matt Mackall
2005-05-12 20:14 ` Petr Baudis
2005-05-12 20:57 ` Matt Mackall
2005-05-12 21:24 ` Daniel Barkalow
2005-05-12 22:29 ` Matt Mackall
2005-05-13 0:33 ` Daniel Barkalow
2005-05-13 1:11 ` Matt Mackall
2005-05-13 2:23 ` Daniel Barkalow
2005-05-13 2:44 ` Matt Mackall
2005-05-13 5:44 ` Petr Baudis
2005-05-15 8:54 ` Petr Baudis
2005-05-15 0:40 ` Christian Kujau
2005-05-15 8:50 ` Petr Baudis
2005-05-15 15:12 ` Christian Kujau
2005-05-15 6:22 ` Ingo Molnar
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=1116282131.6141.8.camel@localhost.localdomain \
--to=maihem@maihem.org \
--cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.