Skip site navigation (1) Skip section navigation (2)

Re: socket versus 127.0.0.1

From: Emil Obermayr <nobs(at)nobswolf(dot)info>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: socket versus 127.0.0.1
Date: 2008-05-25 19:15:58
Message-ID: 200805252115.59142.nobs@nobswolf.info (view raw or flat)
Thread:
Lists: 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.


In response to

pgsql-novice by date

Next:From: Tom LaneDate: 2008-05-25 23:46:33
Subject: Re: Unable to recover tables
Previous:From: Mag GamDate: 2008-05-25 19:03:20
Subject: socket versus 127.0.0.1

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group