From: Jakub Narebski <jnareb@gmail.com>
To: Lea Wiemann <lewiemann@gmail.com>
Cc: git@vger.kernel.org, John Hawley <warthog19@eaglescrag.net>,
Junio C Hamano <gitster@pobox.com>, Petr Baudis <pasky@suse.cz>,
Lars Hjemli <hjemli@gmail.com>
Subject: Re: Gitweb caching: Google Summer of Code project
Date: Tue, 27 May 2008 23:53:32 +0200 [thread overview]
Message-ID: <200805272353.34319.jnareb@gmail.com> (raw)
In-Reply-To: <483C4CFF.2070101@gmail.com>
On Tue, 27 May 2008, Lea Wiemann wrote:
> I just wanted to let everyone know that I'm currently getting started on
> a Google Summer of Code project to improve the caching mechanism in gitweb.
>
> Sorry for not posting about this earlier... Anyways, some key data:
> John 'warthog9' Hawley (who wrote the current caching system for
> kernel.org) is my mentor, and GSoC is from May 26 to Aug 18, minus a
> vacation from Jul 19 to Aug 9.
Thanks for the info.
> While I'm planning to keep much of it on the list, if anyone else is
> particularly interested in helping or providing input, please notify me.
> (Looking at the logs, Jakub maybe? Cc'ing him just in case.)
I'm certainly interested, at least from theoretical point of view, and
I think I can help (as one of main gitweb contributors).
I guess that Petr Baudis would also be interested, because he maintains
repo.or.cz, a public Git hosting site. Lately he posted a patch
implementing projects list caching, in a bit different way from how it
is done on kernel.org, namely by caching data and not final output:
http://thread.gmane.org/gmane.comp.version-control.git/77151
AFAIK it is implemented in repo.or.cz gitweb:
http://repo.or.cz/w/git/repo.git
This indirectly lead to a bit of research on caching in Perl by yours
truly:
http://thread.gmane.org/gmane.comp.version-control.git/77529
(mentioned in http://git.or.cz/gitwiki/SoC2008Projects#gitweb-caching).
I think that you can also get some help on caching from Lars Hjemli,
author of cgit, which is caching git web interface written in C.
(I have added both Petr Baudis and Lars Hjemli to Cc:)
> The current plan is basically to get the gitweb caching fork that's been
> implemented for kernel.org back to the gitweb mainline, and then
> optimize it (probably move to memcached). I'm not yet sure how to
> approach this (e.g. whether to merge from the fork to the mainline or
> vice versa), but I'll probably figure this out together with John and
> might post separately about that later. In any case, expect patches and
> messages from me on the list. :)
>From what I remember correcly from the discussion surrounding
implementing caching for kernel.org gitweb, the main culprit of having
it remain separate from mainline was splitting gitweb into many, many
files. While it helped John in understanding gitweb, it made it
difficult to merge changes back to mainline.
Note also that it is easier to make a site-specific changes, than to
make generic, closs-platform and cross-operating system change.
--
Jakub Narebski
Poland
next prev parent reply other threads:[~2008-05-27 21:54 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 [this message]
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
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=200805272353.34319.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).