Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 33A039F9938 for ; Mon, 8 Oct 2007 03:12:43 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 58895-02 for ; Mon, 8 Oct 2007 03:12:28 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from svr2.hagander.net (svr2.hagander.net [88.198.128.226]) by postgresql.org (Postfix) with ESMTP id 3C5E19F9928 for ; Mon, 8 Oct 2007 03:12:31 -0300 (ADT) Received: from dynamic.hagander.net ([127.0.0.1]) (encrypted and authenticated) by svr2.hagander.net (Postfix) with ESMTP id 8447ADCC8B1; Mon, 8 Oct 2007 08:12:27 +0200 (CEST) From: "Magnus Hagander" To: Jeff@PointHere.net CC: "'D'Arcy J.M. Cain'" , pgsql-performance@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Message-ID: <200710080812110000@463712056> Subject: Re: Apache2 PostgreSQL http authentication Date: Mon, 8 Oct 2007 08:12:10 +0200 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/78 X-Sequence-Number: 27100 I'd consider having a small daemon LISTENing for NOTIFYs that you send by triggers whenever the table has changed. That'll make sure it only dumps if something actually changed. And you can also implement some ratelimiting if needed. /Magnus > ------- Original Message ------- > From: "Jeffrey Brower" > To: "'D'Arcy J.M. Cain'" > Sent: 07-10-07, 22:58:29 > Subject: Re: [PERFORM] Apache2 PostgreSQL http authentication > > Using a cron task was my first thought. Unfortunately, new users are given > a logon that they immediately use. I thought about shelling out and > updating a password file on an on-demand basis but I am not sure if that is > such a great idea either - especially since users can change their passwords > and renew their logons at will as well. > > Jeff > > > -----Original Message----- > From: D'Arcy J.M. Cain [mailto:darcy@druid.net] > Sent: Sunday, October 07, 2007 4:45 PM > To: Jeff@PointHere.net > Cc: pgsql-performance@postgresql.org > Subject: Re: [PERFORM] Apache2 PostgreSQL http authentication > > On Sun, 7 Oct 2007 09:14:43 -0400 > "Jeffrey Brower" wrote: > > As I say, from a performance point of view, I would really like to > > know if there is anything I can do to make sure that postgres is > > performing as quickly as possible under apache2 so that my http > > authentication is not impacted too significantly. > > How often does the user information change? Can you simply create standard > Apache password files from cron during non-busy hours? > Sometimes the lower tech solution works best. > > -- > D'Arcy J.M. Cain | Democracy is three wolves > http://www.druid.net/darcy/ | and a sheep voting on > +1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner. > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: don't forget to increase your free space map settings >