Re: Multiple UNIX-domain sockets?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Multiple UNIX-domain sockets?
Дата
Msg-id 12475.1159211229@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Multiple UNIX-domain sockets?  (Oliver Fromme <olli@lurza.secnetix.de>)
Ответы Re: Multiple UNIX-domain sockets?  (Oliver Fromme <olli@lurza.secnetix.de>)
Список 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 по дате отправления:

Предыдущее
От: Oliver Fromme
Дата:
Сообщение: Re: Multiple UNIX-domain sockets?
Следующее
От: "Tony Davis"
Дата:
Сообщение: Installing 8.1.4 on XP Home