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

Re: [RFC] helping smart-http/stateless-rpc fetch race

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
Aug 8, 2011, 21:05 UTC
Message-ID
<CAGdFq_i=8p4jvKo1C=UFpmQyPtUd9JOtr9VW8vn7viC0dQkQmg@mail.gmail.com>
In-Reply-To
<7vsjpbzv07.fsf@alter.siamese.dyndns.org>
Heya,
On Mon, Aug 8, 2011 at 19:13, Junio C Hamano <gitster@pobox.com> wrote:
>>  (1) It might make sense to give admins who run upload-pack not behind
>>      smart-http an option to allow fetching from a non-tip; and

You said earlier it isn't needed since the server process caches the refs for git and ssh, that leaves dumb-http right? If that is indeed the case I think we can just argue that since smart-http is our solution to the http problems, if admins want to make life easier for http fetches on busy repositories they should be using smart-http.

>>  (2) It also might make sense to let admins who do run upload-pack behind
>>      smart-http force re-fetching when the race is encountered.

This would mean that if you're running smart-http without this option enabled (because, say, you don't know it exists), your users have to re-fetch (a lot). The only upside would be that if the server _knows_ what the user is asking for is outdated, that the user will know this right away. That doesn't fly though, since we allow exactly that for git and ssh transfer.

-- 
Cheers,

Sverre Rabbelier
Previous: Junio C HamanoNext: Ilari Liusvaara
Message 5 of 10 in “[RFC] helping smart-http/stateless-rpc fetch race”
  1. Junio C HamanoAug 5, 2011
  2. Shawn PearceAug 6, 2011
  3. Junio C HamanoAug 8, 2011
  4. Junio C HamanoAug 8, 2011
  5. Sverre RabbelierAug 8, 2011
  6. Ilari LiusvaaraAug 8, 2011
  7. Junio C HamanoAug 8, 2011
  8. Junio C HamanoAug 8, 2011
  9. Shawn PearceAug 8, 2011
  10. Junio C HamanoAug 8, 2011

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.