public inbox for [email protected]  
help / color / mirror / Atom feed
From: Stephen Frost <[email protected]>
To: Tom Lane <[email protected]>
Cc: [email protected]
Subject: Re: gitweb is no longer a real-time view
Date: Sun, 3 Mar 2013 21:33:35 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-www>

* Tom Lane ([email protected]) wrote:
> cron job?  I was under the impression there was some sort of push
> operation driven by a commit trigger.  The web site has certainly
> updated nearly immediately for as long as we've been using git.
> Until this week, that is.

Curiously, there's two cron jobs, apparently.  There's a 'push' one and
then another, independent, 'pull' one.  I'll assume they're actually
doing different things, but I wonder if the pull isn't just a
hold-over..  In any case, the push-to-anon, which I hadn't seen
initially (looking at the pull side instead of the push side), does run
once a minute, though it looks like there's a hook mechanism which
would allow us to trigger the webserver to do a pull when a commit
happens and would still be better than a once-a-minute cronjob.

Even with that, however, the concern raised was that the gitweb perl
script is quite expensive to run for every request, hence the reason for
doing the cacheing.  I've lowered the varnish cacheing to a 5m ttl and
15m grace and I'll keep an eye on it.

	Thanks,

		Stephen


Attachments:

  [application/pgp-signature] signature.asc (198B, 2-signature.asc)
  download

view thread (43+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: gitweb is no longer a real-time view
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox