Re: PostgreSQL pre-fork speedup - Mailing list pgsql-hackers

From Thomas Swan
Subject Re: PostgreSQL pre-fork speedup
Date
Msg-id 409A6DDC.4030602@idigx.com
Whole thread Raw
In response to Re: PostgreSQL pre-fork speedup  (sdv mailer <sdvmailer@yahoo.com>)
Responses Re: PostgreSQL pre-fork speedup
List pgsql-hackers
sdv mailer wrote:

>Hi Bruce,
>
>Sorry for the confusion because Rod asked a question
>and I answered too quickly. This is what I mean.
>
>15x Slower:
>-----------
>Client <--TCP--> PgPool <--UNIX--> PostgreSQL
>Client <--TCP--> PgPool <--TCP--> PostgreSQL
>
>5x Faster:
>----------
>Client <--UNIX--> PgPool <--UNIX--> PostgreSQL
>Client <--UNIX--> PgPool <--TCP--> PostgreSQL
>
>
>Hope this helps! Pgpool speeds up connection time by
>5x with UNIX socket due to pre-fork and connection
>pooling. However, pgpool slows down by 15x under TCP
>socket for some unknown reason.
>
>
>
>  
>
Do you have SSL enabled on the postgresql server?  If you do, this would
account for the slower connect time over TCP/IP.


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: ALTER TABLE TODO items
Next
From: Bruce Momjian
Date:
Subject: Re: ALTER TABLE TODO items