Re: kernel.org mirroring (Re: [GIT PULL] MMC update)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff Garzik
Date: Saturday, December 9, 2006 - 5:42 am

Jakub Narebski wrote:

It is.  At least for kernel.org, the issue isn't that CGI is expensive, 
its that I/O is expensive.



IMO yes, since most major browsers, caches, and spiders support these 
headers.



Yes, a good point to note.



Mostly true:  you must also consider HTTP_ACCEPT



That would be a good start, and suffice for many cases.  If the CGI can 
simply stat(2) files rather than executing git-* programs, that would 
increase efficiency quite a bit.

A core problem with cache hints via HTTP headers (last-modified, etc.) 
is that you don't achieve caching across multiple clients, just across 
repeated queries from the same client (or caching proxy).

At least for the RSS/Atom feeds and the git main page, it makes no sense 
to regenerate that data repeatedly.

Internally, gitweb would need to do a stat() on key files, and return 
pre-generated XML for the feeds if the stat() reveals no changes.  Ditto 
for the front page.



CGI version of gitweb.

But again, mod_perl vs. CGI isn't the issue.

	Jeff


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Linus Torvalds, (Thu Dec 7, 12:05 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), H. Peter Anvin, (Thu Dec 7, 12:16 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Olivier Galibert, (Thu Dec 7, 12:30 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Linus Torvalds, (Thu Dec 7, 12:30 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Shawn Pearce, (Thu Dec 7, 12:39 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), H. Peter Anvin, (Thu Dec 7, 12:57 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Linus Torvalds, (Thu Dec 7, 12:58 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), H. Peter Anvin, (Thu Dec 7, 12:58 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Junio C Hamano, (Thu Dec 7, 1:05 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), H. Peter Anvin, (Thu Dec 7, 1:09 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Junio C Hamano, (Thu Dec 7, 3:11 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Michael K. Edwards, (Thu Dec 7, 4:33 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Olivier Galibert, (Thu Dec 7, 4:50 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), H. Peter Anvin, (Thu Dec 7, 4:56 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jakub Narebski, (Fri Dec 8, 2:43 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Rogan Dawes, (Fri Dec 8, 5:57 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jakub Narebski, (Fri Dec 8, 6:38 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Rogan Dawes, (Fri Dec 8, 7:31 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jonas Fonseca, (Fri Dec 8, 8:38 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), H. Peter Anvin, (Fri Dec 8, 9:16 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Linus Torvalds, (Fri Dec 8, 9:35 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), H. Peter Anvin, (Fri Dec 8, 9:42 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jeff Garzik, (Fri Dec 8, 9:54 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), H. Peter Anvin, (Fri Dec 8, 10:04 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jeff Garzik, (Fri Dec 8, 10:40 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Lars Hjemli, (Fri Dec 8, 12:49 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), H. Peter Anvin, (Fri Dec 8, 12:51 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Lars Hjemli, (Fri Dec 8, 12:59 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), H. Peter Anvin, (Fri Dec 8, 1:02 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Linus Torvalds, (Fri Dec 8, 4:27 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Michael K. Edwards, (Fri Dec 8, 4:46 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), H. Peter Anvin, (Fri Dec 8, 4:49 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Michael K. Edwards, (Fri Dec 8, 5:18 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), H. Peter Anvin, (Fri Dec 8, 5:23 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Linus Torvalds, (Fri Dec 8, 5:49 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), H. Peter Anvin, (Fri Dec 8, 5:51 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Martin Langhoff, (Fri Dec 8, 6:28 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Martin Langhoff, (Fri Dec 8, 6:56 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), H. Peter Anvin, (Fri Dec 8, 7:03 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Martin Langhoff, (Fri Dec 8, 7:52 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Michael K. Edwards, (Fri Dec 8, 9:36 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), H. Peter Anvin, (Fri Dec 8, 10:09 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Martin Langhoff, (Fri Dec 8, 10:34 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Steven Grimm, (Sat Dec 9, 12:56 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jeff Garzik, (Sat Dec 9, 2:27 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jakub Narebski, (Sat Dec 9, 4:51 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jeff Garzik, (Sat Dec 9, 5:42 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jakub Narebski, (Sat Dec 9, 6:37 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jeff Garzik, (Sat Dec 9, 7:43 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), H. Peter Anvin, (Sat Dec 9, 9:26 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jakub Narebski, (Sat Dec 9, 10:02 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jeff Garzik, (Sat Dec 9, 10:27 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Linus Torvalds, (Sat Dec 9, 11:04 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), H. Peter Anvin, (Sat Dec 9, 11:30 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Martin Langhoff, (Sat Dec 9, 8:55 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Martin Langhoff, (Sat Dec 9, 9:07 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), H. Peter Anvin, (Sun Dec 10, 12:05 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jakub Narebski, (Sun Dec 10, 3:09 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jeff Garzik, (Sun Dec 10, 5:41 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jakub Narebski, (Sun Dec 10, 6:02 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jeff Garzik, (Sun Dec 10, 6:45 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jakub Narebski, (Sun Dec 10, 12:11 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Linus Torvalds, (Sun Dec 10, 12:50 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jakub Narebski, (Sun Dec 10, 1:27 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Linus Torvalds, (Sun Dec 10, 1:30 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), H. Peter Anvin, (Sun Dec 10, 2:01 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Martin Langhoff, (Sun Dec 10, 3:01 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jeff Garzik, (Sun Dec 10, 3:05 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jeff Garzik, (Sun Dec 10, 3:08 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jeff Garzik, (Sun Dec 10, 3:14 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jakub Narebski, (Sun Dec 10, 3:59 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Martin Langhoff, (Sun Dec 10, 7:16 pm)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jakub Narebski, (Mon Dec 11, 1:59 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Martin Langhoff, (Mon Dec 11, 3:18 am)
Re: kernel.org mirroring (Re: [GIT PULL] MMC update), Jakub Narebski, (Tue Dec 12, 2:19 pm)