Re: Multiple UNIX-domain sockets? - Mailing list pgsql-novice

From Tom Lane
Subject Re: Multiple UNIX-domain sockets?
Date
Msg-id 12475.1159211229@sss.pgh.pa.us
Whole thread Raw
In response to Re: Multiple UNIX-domain sockets?  (Oliver Fromme <olli@lurza.secnetix.de>)
Responses Re: Multiple UNIX-domain sockets?
List pgsql-novice
Oliver Fromme <olli@lurza.secnetix.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

pgsql-novice by date:

Previous
From: Oliver Fromme
Date:
Subject: Re: Multiple UNIX-domain sockets?
Next
From: "Tony Davis"
Date:
Subject: Installing 8.1.4 on XP Home