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

Re: Gitweb caching: Google Summer of Code project

From
LWLea Wiemann <lewiemann@gmail.com>
Date
May 30, 2008, 15:27 UTC
Message-ID
<48401CFF.4020702@gmail.com>
In-Reply-To
<20080530150713.GG593@machine.or.cz>
Petr Baudis wrote:
> please make [memcached] optional.

Oh, absolutely. I was definitely planning to keep Gitweb runnable without having Cache::Memcached installed.

> print "<p>This page took ".tv_interval($t0, [gettimeofday])."s to generate.</p>";

Sure -- I'm not sure how useful bare timings are, though. When I look at individual pages, the page cache is usually warm anyway, so the only thing I might be interested in is advanced statistics like the number of calls to git or number of cache hits/misses. To find out how the cache performs timing-wise, you'll have to do larger benchmarks, individual page generation times won't help that much.

> I wonder what oldest Perl versions do we aim to support?

I'm thinking about 5.8 or 5.10. Looking at Debian, Perl 5.10 is not in stable (etch), but it's in lenny, which is planned to become stable in Sept. 08. So by the time the updated Gitweb/Git.pm has stabilized (and shows up as a package in Debian), Perl 5.10 will definitely be available widely enough.

-- Lea
Previous: Petr BaudisNext: Petr Baudis
Message 11 of 18 in “Gitweb caching: Google Summer of Code project”
  1. Lea WiemannMay 27, 2008
  2. Jakub NarebskiMay 27, 2008
  3. Lea WiemannMay 27, 2008
  4. Jakub NarebskiMay 28, 2008
  5. Lea WiemannMay 28, 2008
  6. Jakub NarebskiMay 29, 2008
  7. Lea WiemannMay 30, 2008
  8. Jakub NarebskiMay 30, 2008
  9. Lea WiemannMay 30, 2008
  10. Petr BaudisMay 30, 2008
  11. Lea WiemannMay 30, 2008
  12. Petr BaudisMay 30, 2008
  13. Rafael Garcia-SuarezMay 30, 2008
  14. J.H.May 30, 2008
  15. Junio C HamanoMay 30, 2008
  16. Lea WiemannMay 30, 2008
  17. Lea WiemannMay 30, 2008
  18. Jakub NarebskiMay 31, 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.