git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Kevin Ballard <kevin@sb.org>
To: Jon Loeliger <jdl@freescale.com>
Cc: Tom Werner <pubsub@rubyisawesome.com>, git@vger.kernel.org
Subject: Re: git-scm.com
Date: Thu, 31 Jul 2008 13:19:49 -0700	[thread overview]
Message-ID: <2F33BB4E-C726-4405-8185-2B573ED7A3BA@sb.org> (raw)
In-Reply-To: <489206E4.2030901@freescale.com>

On Jul 31, 2008, at 11:39 AM, Jon Loeliger wrote:

> Tom Werner wrote:
>>
>> The problem is that I'm only a casual C coder. It takes me a while to
>> figure out what's going on in the git source. We needed a way to  
>> serve
>> public git repositories from a hashed directory structure (e.g.
>> /a/b/c/user/repo.git) and we needed it fast.
>
> I'm not exactly sure what you mean by "hashed directory structure",
> but I suspect that your goal is some form of virtualized hosting
> that allows for directory names to be dynamically constructed with
> a component that appears to be the user name.
>
> Wouldn't the --interpolated-path ability of git-daemon either
> directly or with minor modifications directly support that?

Tom, correct me if I'm wrong, but my understanding of this is that,  
with GFS, they were running into the problem of too many dirents in  
one directory, thus causing lots of stability problems (GFS has a far  
lower limit than other filesystems in this regard). So the GitHub guys  
had to switch to a directory sharding structure (similar to how the  
git objects db uses the first 2 characters of the hash as the dir  
name) to split this up and keep the numbers manageable. However, they  
still had to support the old git://github.com/user/project.git paths.

-Kevin Ballard

-- 
Kevin Ballard
http://kevin.sb.org
kevin@sb.org
http://www.tildesoft.com

  reply	other threads:[~2008-07-31 20:20 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-25 17:35 git-scm.com Scott Chacon
2008-07-25 21:20 ` git-scm.com Sverre Rabbelier
2008-07-25 21:46   ` git-scm.com Scott Chacon
2008-07-25 21:36 ` git-scm.com Johan Herland
2008-07-25 21:49   ` git-scm.com Scott Chacon
2008-07-25 22:02 ` git-scm.com Stephan Beyer
2008-07-25 22:15   ` git-scm.com Scott Chacon
2008-07-25 23:47 ` git-scm.com Junio C Hamano
2008-07-26  0:59   ` git-scm.com Scott Chacon
2008-07-26 17:10     ` git-scm.com Junio C Hamano
2008-07-27  6:19       ` git-scm.com "Peter Valdemar Mørch (Lists)"
2008-07-27 11:37       ` git-scm.com Petr Baudis
2008-07-27 18:33         ` git-scm.com Junio C Hamano
2008-07-27 22:01           ` git-scm.com Junio C Hamano
2008-07-27 23:19             ` git-scm.com Martin Langhoff
2008-07-28  3:11               ` git-scm.com Tom Werner
2008-07-28 10:50                 ` git-scm.com Johannes Schindelin
2008-07-28 18:12                   ` git-scm.com Tom Werner
2008-07-31 18:39                     ` git-scm.com Jon Loeliger
2008-07-31 20:19                       ` Kevin Ballard [this message]
2008-07-28 21:42                   ` git-scm.com Junio C Hamano
2008-07-28 22:34                     ` git-scm.com Martin Langhoff
2008-07-28 22:39                     ` git-scm.com Pieter de Bie
2008-07-29  5:15                     ` git-scm.com Shawn O. Pearce
2008-07-26  1:38 ` git-scm.com Patrick Aljord
2008-07-26  2:28   ` git-scm.com Scott Chacon
2008-07-26  2:37     ` git-scm.com Petr Baudis
2008-07-26  2:47       ` git-scm.com david
2008-07-26  5:30         ` git-scm.com Scott Chacon
2008-07-26  5:49           ` git-scm.com Patrick Aljord
2008-07-26  8:06             ` git-scm.com Junio C Hamano
2008-07-26  6:27           ` git-scm.com david
2008-07-26 15:48           ` git-scm.com Wincent Colaiuta
2008-07-26 18:33             ` git-scm.com Scott Chacon
     [not found]               ` <alpine.DEB.1.00.0807262110140.26810@eeepc-johanness>
2008-07-26 19:13                 ` git-scm.com Scott Chacon
2008-07-26 19:20                   ` git-scm.com Johannes Schindelin
2008-07-26 19:21                     ` git-scm.com Scott Chacon
2008-07-26 23:11             ` git-scm.com Junio C Hamano
2008-07-26  2:45     ` git-scm.com Johannes Schindelin
2008-07-26  1:53 ` Official Git Homepage change? git-scm.com Petr Baudis
2008-07-26  2:09   ` Petr Baudis
2008-07-26  4:09     ` Junio C Hamano
2008-07-26  4:28       ` Johannes Schindelin
2008-07-26  4:49         ` Junio C Hamano
2008-07-26  4:54           ` Johannes Schindelin
2008-07-26 14:40           ` Petr Baudis
2008-07-26 16:37             ` Junio C Hamano
2008-07-26 16:48               ` Thomas Adam
2008-07-27 12:22               ` Petr Baudis
2008-07-27 15:53                 ` Johannes Schindelin
2008-07-27 20:12                   ` Sverre Rabbelier
2008-07-26  6:43       ` Scott Chacon
2008-07-26  7:11         ` Junio C Hamano
2008-07-26  7:27           ` Scott Chacon
2008-07-26  7:52             ` Sverre Rabbelier
2008-07-26 14:48             ` Rene Herman
2008-07-26 15:21               ` Jakub Narebski
2008-07-26 15:32                 ` Scott Chacon
2008-07-26 15:39                   ` Jakub Narebski
2008-07-26 15:15           ` Petr Baudis
2008-07-26 20:17         ` Petr Baudis
2008-07-26 20:24           ` Jakub Narebski
2008-07-26 20:32             ` Petr Baudis
2008-08-03 14:50               ` Jonas Fonseca
2008-08-03 22:00                 ` Junio C Hamano
2008-07-27 12:35       ` Petr Baudis
2008-07-26  7:07   ` Scott Chacon
2008-07-26 14:17     ` Petr Baudis
2008-07-26  2:25 ` git-scm.com Johannes Schindelin
2008-07-26  2:33   ` git-scm.com Petr Baudis
2008-07-26  2:54   ` git-scm.com Stephan Beyer
2008-07-26  3:07     ` git-scm.com Johannes Schindelin
2008-07-26  4:55       ` git-scm.com Scott Chacon
2008-07-26  7:21         ` git-scm.com Martin Langhoff
2008-07-26  8:03 ` git-scm.com Jakub Narebski
2008-07-26 13:07   ` git-scm.com Petr Baudis
2008-07-26 18:51     ` git-scm.com Junio C Hamano
  -- strict thread matches above, loose matches on Subject: below --
2008-10-15 17:25 git-scm.com (was Re: Git graph on GitHub) Petr Baudis
     [not found] ` <bab6a2ab0810150315l273d4ef3k95cda8f43a4745ca@mail.gmail.com>
2008-10-15 10:18   ` PJ Hyett
2008-10-15 10:34     ` Wincent Colaiuta
2008-10-15 16:21       ` Scott Chacon
2008-10-16  9:42         ` git-scm.com Nanako Shiraishi
2008-10-16  9:49           ` git-scm.com Petr Baudis
2008-10-17  1:57           ` git-scm.com Junio C Hamano
2008-10-15 18:36       ` git-scm.com (was Re: Git graph on GitHub) PJ Hyett
2008-10-15 19:26         ` git-scm.com Teemu Likonen

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2F33BB4E-C726-4405-8185-2B573ED7A3BA@sb.org \
    --to=kevin@sb.org \
    --cc=git@vger.kernel.org \
    --cc=jdl@freescale.com \
    --cc=pubsub@rubyisawesome.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).