From: | Tom Samplonius <tom(at)sdf(dot)com> |
---|---|
To: | carl garland <carlhgarland(at)hotmail(dot)com> |
Cc: | martin(at)math(dot)unl(dot)edu(dot)ar, RDNELSON(at)co(dot)centre(dot)pa(dot)us, davidb(at)vectormath(dot)com, mfork(at)toledolink(dot)com, poulc(at)cs(dot)auc(dot)dk, pgsql-general(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Re: [GENERAL] PHPBuilder article -- Postgres vs MySQL |
Date: | 2000-11-15 17:27:48 |
Message-ID: | Pine.BSF.4.05.10011150922000.18177-100000@misery.sdf.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On Wed, 15 Nov 2000, carl garland wrote:
> >perhaps why, even at 5 clients, the page views he shows never went
> >significantly above 10/sec?
>
> I think alot of it has to do with the web server/db setup not pg. They are
> using Apache/PHP and looking at their code every page has the additional
> overhead of making the db connection. Now if they had used AOLserver with
> its persistent db connecction pooling scheme they may have faired better ;)
I doubt it. PostgreSQL has a higher connection startup overhead than
MySQL, so if every view required a new database connection, it would been
quite a detriment to the PostgreSQL scores.
PHP can maintain persisitant connections. Unfortunately, this means
that you end up with a database connection per httpd process. That really
isn't a problem for PostgreSQL though, it just requires sufficent memory.
No doubt that is what was being done.
AOLServer isn't the only system that can pool database connections, so
can servlets/JSP, ColdFusion, ASP, etc. No doubt AOLServer would be more
widely accepted if it used something other than TCL.
Tom
From | Date | Subject | |
---|---|---|---|
Next Message | joseph | 2000-11-15 17:28:43 | Re: [HACKERS] Re: PHPBuilder article -- Postgres vs MySQL |
Previous Message | Rich Shepard | 2000-11-15 17:12:00 | Re: Strange problem upgrading to 7.0.3x |
From | Date | Subject | |
---|---|---|---|
Next Message | joseph | 2000-11-15 17:28:43 | Re: [HACKERS] Re: PHPBuilder article -- Postgres vs MySQL |
Previous Message | Peter Eisentraut | 2000-11-15 17:15:14 | Re: Re: UUNET socket-file-location patch |