From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.176.0/21 X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MSGID_FROM_MTA_HEADER,RP_MATCHES_RCVD shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 From: "H. Peter Anvin" Subject: Re: kernel.org mirroring (Re: [GIT PULL] MMC update) Date: Fri, 08 Dec 2006 11:51:16 -0800 Message-ID: <4579C234.5080709@zytor.com> References: <45785697.1060001@zytor.com> <457868AA.2030605@zytor.com> <20061207193012.GA84678@dspnet.fr.eu.org> <4578722E.9030402@zytor.com> <4579611F.5010303@dawes.za.net> <45798FE2.9040502@zytor.com> <457995F8.1080405@zytor.com> <8c5c35580612081149y2042c62j55b1b7b3f23da6ad@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Date: Fri, 8 Dec 2006 19:51:40 +0000 (UTC) Cc: Linus Torvalds , Git Mailing List Return-path: Envelope-to: gcvg-git@gmane.org User-Agent: Thunderbird 1.5.0.8 (X11/20061107) In-Reply-To: <8c5c35580612081149y2042c62j55b1b7b3f23da6ad@mail.gmail.com> X-Virus-Scanned: ClamAV 0.88.6/2308/Fri Dec 8 08:10:24 2006 on terminus.zytor.com X-Virus-Status: Clean Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Received: from vger.kernel.org ([209.132.176.167]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gslkv-0003KR-6H for gcvg-git@gmane.org; Fri, 08 Dec 2006 20:51:37 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1426176AbWLHTve (ORCPT ); Fri, 8 Dec 2006 14:51:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1426179AbWLHTve (ORCPT ); Fri, 8 Dec 2006 14:51:34 -0500 Received: from terminus.zytor.com ([192.83.249.54]:50465 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1426176AbWLHTvd (ORCPT ); Fri, 8 Dec 2006 14:51:33 -0500 Received: from [10.0.6.0] (yardgnome.c2micro.com [69.104.58.50]) (authenticated bits=0) by terminus.zytor.com (8.13.8/8.13.7) with ESMTP id kB8JpJ7H022105 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Dec 2006 11:51:19 -0800 To: Lars Hjemli Sender: git-owner@vger.kernel.org Lars Hjemli wrote: > On 12/8/06, H. Peter Anvin wrote: >> Linus Torvalds wrote: >> > I could write a simple C caching thing that just hashes the CGI >> arguments >> > and uses a hash to create a cache (and proper lock-files etc to >> serialize >> > access to a particular cache object while it's being created) fairly >> > easily, but I'm pretty sure people would much prefer a mod_perl >> thing just >> > to avoid the fork/exec overhead with Apache (I think mod_perl allows >> > Apache to run perl scripts without it), and that means I'm not the >> right >> > person any more. >> >> True about mod_perl. Haven't messed with that myself, either. >> fork/exec really is very cheap on Linux, so it's not a huge deal. > > I've been playing around with a "native git" cgi thingy the last week > (I call it cgit), and I've been thinking about adding exactly this > kind of caching to it. And since it's basically a standard git command > written in C, it should have less overhead than any perl > implementation. > Trust me, perl, or CGI, is not the problem. It's all about I/O traffic generated by git.