Re: socket versus 127.0.0.1

Поиск
Список
Период
Сортировка
От Emil Obermayr
Тема Re: socket versus 127.0.0.1
Дата
Msg-id 200805252115.59142.nobs@nobswolf.info
обсуждение исходный текст
Ответ на socket versus 127.0.0.1  ("Mag Gam" <magawake@gmail.com>)
Список pgsql-novice
Am Sonntag, 25. Mai 2008 schrieb Mag Gam:
>
> what is faster as in performance wise -- a Unix socket for a
> 127.0.0.1(loopback connection)?

If there is any difference at all, the Socket should be faster. It is a
data-stream in the "virtual" file-system.

The loopback needs to create IP-packets. But the optimization might be very
high, so you maybe won't recognize any difference.


В списке pgsql-novice по дате отправления:

Предыдущее
От: "Mag Gam"
Дата:
Сообщение: socket versus 127.0.0.1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Unable to recover tables