Sunday, May 25, 2008

Re: [NOVICE] socket versus 127.0.0.1

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.


--
Sent via pgsql-novice mailing list (pgsql-novice@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice

No comments: