From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Narebski Subject: Re: [RESEND] Pagination for gitweb Date: Fri, 10 Sep 2010 11:57:44 -0700 (PDT) Message-ID: References: <1284135442-10971-1-git-send-email-lkundrak@v3.sk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: git@vger.kernel.org To: Lubomir Rintel X-From: git-owner@vger.kernel.org Fri Sep 10 20:57:56 2010 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ou8nL-0000Io-6n for gcvg-git-2@lo.gmane.org; Fri, 10 Sep 2010 20:57:55 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753712Ab0IJS5r (ORCPT ); Fri, 10 Sep 2010 14:57:47 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:43866 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753186Ab0IJS5q (ORCPT ); Fri, 10 Sep 2010 14:57:46 -0400 Received: by bwz11 with SMTP id 11so2499956bwz.19 for ; Fri, 10 Sep 2010 11:57:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received :x-authentication-warning:to:cc:subject:references:from:date :in-reply-to:message-id:lines:user-agent:mime-version:content-type; bh=txoVZOtpCLx2LcUyUUd5QZNEwhQ+RFyaOzL/hhXIH8I=; b=gkbgJ8Dv26z90p8CZX8BKqTFcnED0S1Qq49SCKRFemxjJDd1t/u/XcWk4vPXEcAuJe rQwaGNw9xcyISWrim3JJW011qJZtl4JB1QzvXxS56QHZco+3ibZ41zKSnqR/S+tGOhzQ k/q44VyAXu4WbVIU57vnAYjMAq/RBUxDo8TgM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=x-authentication-warning:to:cc:subject:references:from:date :in-reply-to:message-id:lines:user-agent:mime-version:content-type; b=IJDr9E6dOmYrGk0ru1wW+QCQvQFjPfHmQ/uxtxXdW7rWZV3+0ivIJprWvwlTE5qCN6 jNLv7XTq+zbGjY7i0AiShaobUd8vW8Htbz/Qx/avclC4ZLuNAvxl1BlSbbpYhMSRFIvT 5KlASYGdsbHD+VhXeim9SZqET0yZdgCzoCFEw= Received: by 10.204.55.135 with SMTP id u7mr822174bkg.122.1284145065120; Fri, 10 Sep 2010 11:57:45 -0700 (PDT) Received: from localhost.localdomain (abuz124.neoplus.adsl.tpnet.pl [83.8.197.124]) by mx.google.com with ESMTPS id x19sm2225034bkv.9.2010.09.10.11.57.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 10 Sep 2010 11:57:44 -0700 (PDT) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.13.4/8.13.4) with ESMTP id o8AIvCBM020458; Fri, 10 Sep 2010 20:57:22 +0200 Received: (from jnareb@localhost) by localhost.localdomain (8.13.4/8.13.4/Submit) id o8AIuuCK020454; Fri, 10 Sep 2010 20:56:56 +0200 X-Authentication-Warning: localhost.localdomain: jnareb set sender to jnareb@gmail.com using -f In-Reply-To: <1284135442-10971-1-git-send-email-lkundrak@v3.sk> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Lubomir Rintel writes: > I thought something like this could be a starter for better handling long > gitweb project lists (such as http://pkgs.fedoraproject.org/gitweb/). > > Could anyone please take a look? What do you mean here by "better handling"? Is the problem server performance for large number of projects? If this is the problem, perhaps better solution would be to use caching (work in progress). Is the problem large projects-list page and bandwidth? There was a patch adding transparent compression of pages generated by gitweb would be a better solution; perhaps this together with caching (to avoid performance hit on CPU; note that usually gitweb performance is I/O and not CPU-bound). Is the problem client rendering performance on large page with large table? If it is, then paginating output, or adding project search like in gitweb fork used on http://repo.or.cz is correct solution. So which is it? -- Jakub Narebski Poland ShadeHawk on #git