Re: Questions about enabling SSL

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: fabrix peñuelas <fabrixio1(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Questions about enabling SSL
Date: 2008-02-12 01:00:13
Message-ID: 20080212010012.GA42187@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Mon, Feb 11, 2008 at 05:37:51PM -0700, Michael Fuhr wrote:
> On Mon, Feb 11, 2008 at 04:58:35PM -0700, fabrix peñuelas wrote:
> > If ssl is enable in postgresql decreanse the performance of the database?
> > How much?
>
> The performance impact of an encrypted connection depends on how
> expensive the queries are and how much data they return.

Another consideration is how much time you spend using each connection
vs. how much time it takes to establish each connection. A thousand
simple queries over the same encrypted connection might be significantly
faster than running each query over a separate unencrypted connection,
which in turn will probably be significantly faster than using
separate encrypted connections that must each carry out a relatively
expensive key establishment.

--
Michael Fuhr

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Michael Fuhr 2008-02-12 02:42:19 Re: [PERFORM] Question about CLUSTER
Previous Message Michael Fuhr 2008-02-12 00:37:51 Re: Questions about enabling SSL