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

Re: large(25G) repository in git

From
Ddavid@lang.hm <david@lang.hm>
Date
Mar 24, 2009, 18:33 UTC
Message-ID
<alpine.DEB.1.10.0903241130240.16753@asgard.lang.hm>
In-Reply-To
<49C91F87.3050105@brainfood.com>
On Tue, 24 Mar 2009, Adam Heath wrote:
Show 8 quoted lines
> Nicolas Pitre wrote:
>
>> Strange.  You could instruct ssh to keep the connection up with the
>> ServerAliveInterval option (see the ssh_config man page).
>
> Sure, could do that.  Already have a separate ssh config entry for
> this host.  But why should a connection be kept open for that long?
> Why not close and re-open?

what if the server you are connecting to is behind a load balancer? how do you know that your new connection will go to the same server? if the client never reconnects, how long should the server keep it's resources tied up 'just in case'. if something connects to the server, how does it know if it's something reconnecting or connecting for the first time? (or someone connecting with the intent of messing up someone else's fetch)

having the client reconnect to finish a single transaction starts getting _really_ ugly.

David Lang
Previous: Nicolas PitreNext: Andreas Ericsson
Message 7 of 16 in “large(25G) repository in git”
  1. Adam HeathMar 23, 2009
  2. Nicolas PitreMar 24, 2009
  3. Adam HeathMar 24, 2009
  4. Nicolas PitreMar 24, 2009
  5. Adam HeathMar 24, 2009
  6. Nicolas PitreMar 25, 2009
  7. david@lang.hmMar 24, 2009
  8. Andreas EricssonMar 24, 2009
  9. Adam HeathMar 24, 2009
  10. Sam HocevarMar 24, 2009
  11. Adam HeathMar 24, 2009
  12. Nicolas PitreMar 25, 2009
  13. Adam HeathMar 25, 2009
  14. Nicolas PitreMar 25, 2009
  15. Marcel M. CaryMar 26, 2009
  16. Adam HeathMar 26, 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.