git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Mercurial on BigTable

From
Jakub Narebski <jnareb@gmail.com>
Date
Jun 12, 2009, 07:14 UTC
Message-ID
<200906120914.16185.jnareb@gmail.com>
In-Reply-To
<20090612034645.GO16497@spearce.org>
On Fri, 12 June 2009, Shawn O. Pearce wrote:
Show 20 quoted lines
> Jakub Narebski <jnareb@gmail.com> wrote:
> > Andreas Ericsson <ae@op5.se> writes:
> > 
> > > I'm more curious as to why they didn't choose git. The only explanation
> > > that was actually true is that hg works well over HTTP 
> > 
> > Well, Google App Engine was in Python, so it follows that the crew
> > would have it easier understanding Mercurial code (which is written in
> > Python with parts in C for performance), and in moving it to BigTable.
> 
> This has nothing to do with Google AppEngine.  GAE has CPU and
> bandwidth limitations in place that make running a source code server
> like Hg on it impossible.  E.g. the maximum size you could download
> in a single HTTP request was 1 MB, now its up to 10 MB (IIRC).
> The Hg hosting runs in a different cluster than the GAE hosting does,
> and are managed by different teams.
> 
> > Adding Java to Gogle App Engine is, as far as I know, fairly recent;
> 
> True, yes, GAE Java support is fairly new.

I didn't wanted to say that support for Mercurial (or other DVCS) in Google Code had anything to do with Google AppEngine. Rather I wanted to imply that what might have mattered when choosing between Mercurial and Git was the fact that there was large pool of people who are proficient in Python (and later in Java) _and_ with web application(s).

But I don't quite see how lack of good over HTTP support should matter; if they are rewriting Mercurial[1] (and earlier Subversion) to use BigTable, couldn't they add "smart" HTTP protocol support to Git (which I think would be easier)?

[1] Mercurial is not AGPLv3 licensed...
Show 8 quoted lines
> 
> > additionally JGit (git implementation in Java) is not yet full
> > implementation.
> 
> JGit implements sufficient parts of Git to be a full server, and
> could power a hosting site... indeed it powers Gerrit Code Review,
> which some companies do use as their entire Git server solution,
> rather than e.g. Gitosis.

By "not full implementation" I meant here that as far as I know JGit doesn't have yet support for _creating_ (as opposed to simply reusing) deltas in packfiles.

P.S. On the other hand, Mercurial support for multiple branches is not so good[2], and the way tags got implemented seems iffy to me...

[2] http://schacon.github.com/2008/11/24/on-mercurial.html
-- 
Jakub Narebski
Poland
Previous: Shawn O. PearceNext: Sitaram Chamarty
Message 6 of 8 in “Mercurial on BigTable”
  1. Scott ChaconJun 10, 2009
  2. Sverre RabbelierJun 10, 2009
  3. Andreas EricssonJun 11, 2009
  4. Jakub NarebskiJun 11, 2009
  5. Shawn O. PearceJun 12, 2009
  6. Jakub NarebskiJun 12, 2009
  7. Sitaram ChamartyJun 11, 2009
  8. Shawn O. PearceJun 12, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.