Re: slower connect from hostnossl clients

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: slower connect from hostnossl clients
Date: 2016-06-07 09:31:55
Message-ID: CAFj8pRCqPy-0T-zGxriU3N1vxmoAgi5AWsrm=9LRRQscyU3SMA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2016-06-07 11:29 GMT+02:00 Magnus Hagander <magnus(at)hagander(dot)net>:

>
>
> On Tue, Jun 7, 2016 at 11:24 AM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
> wrote:
>
>> Hi
>>
>> I am testing speed of connection to Postgres.
>>
>> The ssl connection is slower, and it is expected. But when I configure
>> pg_hba.conf to disable ssl via hostnossl, then ssl is not used, but the
>> speed is similar to ssl.
>>
>> Is it expected behave?
>>
>>
> That's definitely not expected behavior. hostnossl should turn off ssl
> which should turn off the overhead completely. Does it make a difference if
> you also disable it from the client side?
>

When I explicitly disabled ssl, then I seen significantly less time

Regards

Pavel

>
> --
> Magnus Hagander
> Me: http://www.hagander.net/
> Work: http://www.redpill-linpro.com/
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ashutosh Bapat 2016-06-07 10:13:36 Re: [sqlsmith] Failed assertion in postgres_fdw/deparse.c:1116
Previous Message Magnus Hagander 2016-06-07 09:29:19 Re: slower connect from hostnossl clients