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: 12475.1159211229@sss.pgh.pa.us (view raw or flat)
Thread:
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

Responses

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-2014 The PostgreSQL Global Development Group