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

Re: git-scm.com

From
Kevin Ballard <kevin@sb.org>
Date
Jul 31, 2008, 20:19 UTC
Message-ID
<2F33BB4E-C726-4405-8185-2B573ED7A3BA@sb.org>
In-Reply-To
<489206E4.2030901@freescale.com>
On Jul 31, 2008, at 11:39 AM, Jon Loeliger wrote:
Show 15 quoted lines
> 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
Previous: Jon LoeligerNext: Junio C Hamano
Message 20 of 77 in “git-scm.com”
  1. Scott ChaconJul 25, 2008
  2. Sverre RabbelierJul 25, 2008
  3. Scott ChaconJul 25, 2008
  4. Johan HerlandJul 25, 2008
  5. Scott ChaconJul 25, 2008
  6. Stephan BeyerJul 25, 2008
  7. Scott ChaconJul 25, 2008
  8. Junio C HamanoJul 25, 2008
  9. Scott ChaconJul 26, 2008
  10. Junio C HamanoJul 26, 2008
  11. Peter Valdemar Mørch (Lists)Jul 27, 2008
  12. Petr BaudisJul 27, 2008
  13. Junio C HamanoJul 27, 2008
  14. Junio C HamanoJul 27, 2008
  15. Martin LanghoffJul 27, 2008
  16. Tom WernerJul 28, 2008
  17. Johannes SchindelinJul 28, 2008
  18. Tom WernerJul 28, 2008
  19. Jon LoeligerJul 31, 2008
  20. Kevin BallardJul 31, 2008
  21. Junio C HamanoJul 28, 2008
  22. Martin LanghoffJul 28, 2008
  23. Pieter de BieJul 28, 2008
  24. Shawn O. PearceJul 29, 2008
  25. Patrick AljordJul 26, 2008
  26. Scott ChaconJul 26, 2008
  27. Petr BaudisJul 26, 2008
  28. david@lang.hmJul 26, 2008
  29. Scott ChaconJul 26, 2008
  30. Patrick AljordJul 26, 2008
  31. Junio C HamanoJul 26, 2008
  32. david@lang.hmJul 26, 2008
  33. Wincent ColaiutaJul 26, 2008
  34. Scott ChaconJul 26, 2008
  35. Junio C HamanoJul 26, 2008
  36. Johannes SchindelinJul 26, 2008
  37. Official Git Homepage change? Re: git-scm.comPetr Baudis, Jul 26, 2008
  38. Petr BaudisJul 26, 2008
  39. Junio C HamanoJul 26, 2008
  40. Johannes SchindelinJul 26, 2008
  41. Junio C HamanoJul 26, 2008
  42. Johannes SchindelinJul 26, 2008
  43. Petr BaudisJul 26, 2008
  44. Junio C HamanoJul 26, 2008
  45. Thomas AdamJul 26, 2008
  46. Petr BaudisJul 27, 2008
  47. Johannes SchindelinJul 27, 2008
  48. Sverre RabbelierJul 27, 2008
  49. Scott ChaconJul 26, 2008
  50. Junio C HamanoJul 26, 2008
  51. Scott ChaconJul 26, 2008
  52. Sverre RabbelierJul 26, 2008
  53. Rene HermanJul 26, 2008
  54. Jakub NarebskiJul 26, 2008
  55. Scott ChaconJul 26, 2008
  56. Jakub NarebskiJul 26, 2008
  57. Petr BaudisJul 26, 2008
  58. Petr BaudisJul 26, 2008
  59. Jakub NarebskiJul 26, 2008
  60. Petr BaudisJul 26, 2008
  61. Jonas FonsecaAug 3, 2008
  62. Junio C HamanoAug 3, 2008
  63. Petr BaudisJul 27, 2008
  64. Scott ChaconJul 26, 2008
  65. Petr BaudisJul 26, 2008
  66. Johannes SchindelinJul 26, 2008
  67. Petr BaudisJul 26, 2008
  68. Stephan BeyerJul 26, 2008
  69. Johannes SchindelinJul 26, 2008
  70. Scott ChaconJul 26, 2008
  71. Martin LanghoffJul 26, 2008
  72. Jakub NarebskiJul 26, 2008
  73. Petr BaudisJul 26, 2008
  74. Junio C HamanoJul 26, 2008
  75. Scott ChaconJul 26, 2008
  76. Johannes SchindelinJul 26, 2008
  77. Scott ChaconJul 26, 2008

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.