Re: [PATCH] gitweb: Support caching projects list

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Petr Baudis
Date: Thursday, March 13, 2008 - 5:22 pm

On Thu, Mar 13, 2008 at 08:07:09PM -0400, Jay Soffian wrote:

The box shows that cached information is being shown.


You are of course right - I wanted to do the rename, but forgot to write
it in the actual code. :-)

There is a more conceptual problem though - in case of such big sites,
it really makes more sense to explicitly regenerate the cache
periodically instead of making random clients to have to wait it out.
We could add a 'force_update' parameter to accept from localhost only
that will always regenerate the cache, but that feels rather kludgy -
can anyone think of a more elegant solution? (I don't think taking the
@projects generating code out of gitweb and then having to worry during
gitweb upgrades is any better.)


Unlikely. Currently the machine is mostly IO-bound and only small
portion of CPU usage comes from gitweb itself.

-- 
				Petr "Pasky" Baudis
Whatever you can do, or dream you can, begin it.
Boldness has genius, power, and magic in it.	-- J. W. von Goethe
--
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:
[PATCH] gitweb: Support caching projects list, Petr Baudis, (Thu Mar 13, 4:14 pm)
Re: [PATCH] gitweb: Support caching projects list, Jay Soffian, (Thu Mar 13, 5:07 pm)
Re: [PATCH] gitweb: Support caching projects list, Junio C Hamano, (Thu Mar 13, 5:19 pm)
Re: [PATCH] gitweb: Support caching projects list, Petr Baudis, (Thu Mar 13, 5:22 pm)
Re: [PATCH] gitweb: Support caching projects list, Jay Soffian, (Thu Mar 13, 5:27 pm)
Re: [PATCH] gitweb: Support caching projects list, Frank Lichtenheld, (Fri Mar 14, 1:35 am)
Re: [PATCH] gitweb: Support caching projects list, Jakub Narebski, (Fri Mar 14, 5:14 am)
Re: [PATCH] gitweb: Support caching projects list, Jakub Narebski, (Fri Mar 14, 5:17 am)
Re: [PATCH] gitweb: Support caching projects list, Jakub Narebski, (Fri Mar 14, 8:29 am)
Re: [PATCH] gitweb: Support caching projects list, Jay Soffian, (Fri Mar 14, 2:11 pm)
Re: [PATCH] gitweb: Support caching projects list, Jakub Narebski, (Sat Mar 15, 2:44 pm)
Re: [PATCH] gitweb: Support caching projects list, Miklos Vajna, (Sat Mar 15, 5:56 pm)
Re: [PATCH] gitweb: Support caching projects list, Frank Lichtenheld, (Sun Mar 16, 4:41 am)
Re: [PATCH] gitweb: Support caching projects list, Jakub Narebski, (Sun Mar 16, 11:37 am)
Re: [PATCH] gitweb: Support caching projects list, Jakub Narebski, (Sun Mar 16, 4:39 pm)
Re: [PATCH] gitweb: Support caching projects list, Petr Baudis, (Mon Mar 17, 10:40 am)
repo.or.cz renovation, Petr Baudis, (Mon Mar 17, 10:49 am)
repo.or.cz renovated, Petr Baudis, (Mon Mar 17, 11:10 am)
Re: repo.or.cz renovation, Petr Baudis, (Mon Mar 17, 11:11 am)
Re: repo.or.cz renovation, J.H., (Mon Mar 17, 11:44 am)
Re: repo.or.cz renovated, Junio C Hamano, (Mon Mar 17, 12:09 pm)
Re: repo.or.cz renovated, Petr Baudis, (Mon Mar 17, 12:25 pm)
Re: repo.or.cz renovated, Theodore Tso, (Mon Mar 17, 12:34 pm)
Re: repo.or.cz renovated, Petr Baudis, (Mon Mar 17, 12:54 pm)
Re: repo.or.cz renovation, Jakub Narebski, (Mon Mar 17, 1:41 pm)
Re: repo.or.cz renovation, Jakub Narebski, (Mon Mar 17, 2:09 pm)