Skip site navigation (1) Skip section navigation (2)

Re: Multiple UNIX-domain sockets?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Oliver Fromme <olli(at)lurza(dot)secnetix(dot)de>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Multiple UNIX-domain sockets?
Date: 2006-09-25 19:07:09
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Oliver Fromme <olli(at)lurza(dot)secnetix(dot)de> writes:
> The only solution would be to use TCP sockets on localhost,
> but the TCP/IP overhead is considerably higher, especially
> when there are lots of small queries (which I expect).
> I've foiund several benchmarks in various mailinglists,
> some mention a factor of 10.

Really?  A decently designed TCP stack should have enough shortcuts
for local traffic to be competitive with Unix sockets.  Have you
measured a significant performance problem for yourself?

			regards, tom lane

In response to


pgsql-novice by date

Next:From: BobDate: 2006-09-26 02:34:45
Subject: Re: How to test a function in pgAdmin?
Previous:From: Oliver FrommeDate: 2006-09-25 18:56:56
Subject: Re: Multiple UNIX-domain sockets?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group