From owner-freebsd-net@FreeBSD.ORG Mon Oct 1 16:24:25 2012 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C25E6106566B; Mon, 1 Oct 2012 16:24:25 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 4878A8FC12; Mon, 1 Oct 2012 16:24:24 +0000 (UTC) Received: from mr17.lnh.mail.rcn.net ([207.172.157.37]) by smtp02.lnh.mail.rcn.net with ESMTP; 01 Oct 2012 12:24:24 -0400 Received: from smtp04.lnh.mail.rcn.net (smtp04.lnh.mail.rcn.net [207.172.157.104]) by mr17.lnh.mail.rcn.net (MOS 4.3.4-GA) with ESMTP id BSE24778; Mon, 1 Oct 2012 12:24:23 -0400 X-Auth-ID: anat Received: from pool-173-63-112-200.nwrknj.fios.verizon.net (HELO [192.168.1.8]) ([173.63.112.200]) by smtp04.lnh.mail.rcn.net with ESMTP; 01 Oct 2012 12:24:23 -0400 Message-ID: <5069C3B3.9050500@aldan.algebra.com> Date: Mon, 01 Oct 2012 12:24:19 -0400 From: "Mikhail T." User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120820 Thunderbird/14.0 MIME-Version: 1.0 To: net@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: anders@freebsd.org, apache@FreeBSD.org Subject: Is it worth the effort to make proxy and server communicate via Unix socket? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2012 16:24:25 -0000 In a fairly common setup today, a proxy (say, Varnish) runs on the same system as the actual "backend" server (such as Apache). Would it be worthwhile to alter them both to allow them to talk via a socket instead of via TCP (on the lo0 interface)? Or is the win just too negligible? Thanks! -mi