From: Jakub Narebski <jnareb@gmail.com>
To: Lea Wiemann <lewiemann@gmail.com>, Petr Baudis <pasky@suse.cz>
Cc: git@vger.kernel.org, John Hawley <warthog19@eaglescrag.net>,
Junio C Hamano <gitster@pobox.com>,
Lars Hjemli <hjemli@gmail.com>
Subject: Re: Gitweb caching: Google Summer of Code project
Date: Sat, 31 May 2008 12:15:34 +0200 [thread overview]
Message-ID: <200805311215.37233.jnareb@gmail.com> (raw)
In-Reply-To: <48401CFF.4020702@gmail.com>
On Fri, 30 May 2008, Lea Wiemann wrote:
> Petr Baudis wrote:
> >
> > please make [memcached] optional.
>
> Oh, absolutely. I was definitely planning to keep Gitweb runnable
> without having Cache::Memcached installed.
I think the idea was to have the following options:
* cache using memcached (Cache::Memcached installed, and memcached on)
* cache using filesystem, perhaps size aware (with limited cache size)
* no caching
It is quite possible that one would want/need gitweb caching, but
either does not want hassle with memcached, or memcached is not
feasible (for example memory starved machine).
> > 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
This should be fairly easy, just modify git_cmd() to count number of
calls.
> or number of cache hits/misses.
And this I don't think it would be easy.
--
Jakub Narebski
Poland
prev parent reply other threads:[~2008-05-31 10:16 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-27 18:03 Gitweb caching: Google Summer of Code project Lea Wiemann
2008-05-27 21:53 ` Jakub Narebski
2008-05-27 22:54 ` Lea Wiemann
2008-05-28 12:14 ` Jakub Narebski
2008-05-28 18:33 ` Lea Wiemann
2008-05-29 23:27 ` Jakub Narebski
2008-05-30 7:24 ` Lea Wiemann
2008-05-30 10:02 ` Jakub Narebski
2008-05-30 14:59 ` Lea Wiemann
2008-05-30 15:07 ` Petr Baudis
2008-05-30 15:27 ` Lea Wiemann
2008-05-30 15:38 ` Petr Baudis
2008-05-30 16:04 ` Rafael Garcia-Suarez
2008-05-30 18:56 ` J.H.
2008-05-30 20:28 ` Junio C Hamano
2008-05-30 21:32 ` Lea Wiemann
2008-05-30 18:47 ` Lea Wiemann
2008-05-31 10:15 ` Jakub Narebski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200805311215.37233.jnareb@gmail.com \
--to=jnareb@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=hjemli@gmail.com \
--cc=lewiemann@gmail.com \
--cc=pasky@suse.cz \
--cc=warthog19@eaglescrag.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).