From owner-freebsd-ports@FreeBSD.ORG Tue Feb 26 06:22:12 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D3E079BE for ; Tue, 26 Feb 2013 06:22:12 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by mx1.freebsd.org (Postfix) with ESMTP id 9F7CDF4F for ; Tue, 26 Feb 2013 06:22:12 +0000 (UTC) Received: by mail-pa0-f50.google.com with SMTP id fa11so2244517pad.37 for ; Mon, 25 Feb 2013 22:22:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=SAjQ5ErwJP+6YIxHul2aWLs6fjmVc2BkpNTu1nQnvJ8=; b=QtMqKETu7Elat3mO63DsIz57q7YwjUh8oLzNrIT4I7B0aOZn487hgssHsHb67nwSPI NJNMdZSL5l53Yj4rGvxmz/ozV8m+id4FCw2uaBzaa6Q8VwDJrFeQSPPJH5Mvy3sIY2vC TgwWnAJu0FBuHMH+sPW/ZJovh4ibJemAF2r3FNCsrK2rBQ/tEAUfWRKxsUWV9yJld/A7 wcP7AjgC+XK31Q5RodI21IECtrWEW9kyAKTGzRLJI2KKo6IPjbqw+S4aucc29L+WR7mN daZ43eTxIRasurPO1wGbnq2tDQv46qvPL07UoFl/AL6pmGrJRB3hgtfE9jC6aU5PlKRR XRjw== MIME-Version: 1.0 X-Received: by 10.66.187.16 with SMTP id fo16mr245170pac.48.1361859726008; Mon, 25 Feb 2013 22:22:06 -0800 (PST) Received: by 10.68.36.69 with HTTP; Mon, 25 Feb 2013 22:22:05 -0800 (PST) In-Reply-To: <4749ABEC867549DAB07179A7E71CDB4F@white> References: <512C249B.4090401@ish.com.au> <4749ABEC867549DAB07179A7E71CDB4F@white> Date: Tue, 26 Feb 2013 08:22:05 +0200 Message-ID: Subject: Re: Share /var/cache/pkg/ between machines From: Alexander Yerenkow To: Dewayne Geraghty Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-ports@freebsd.org, Aristedes Maniatis X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2013 06:22:12 -0000 I don't understand how do you imagine "magical appearing" 80 Mb JDK from any one place to other without pulling data from internet? :) In any case, with any kind of sharing you probably will have almost same traffic, maybe even greater than if you choose simple `pkg install` traffic. 1 - pointless, you can set up simple nginx, pointing to poudriere build packages directory and set up packagesite in /u/l/e/pkg.conf, without any proxy machine, which must download these cached packages in any case to be served by apache. AFAIK that machine will download something only while installing, right? So you overcomplicate your setup. 2. rsync will produce packagesize traffic + constant little more, due to checks of alteration. You'll lose in that case in long shot. My advice - put nginx to serve poudriere's built packages dir, and trust to xz compression level = easy to setup, not big traffic really. This is of course based on sentence "... onto 10 machines across the internet" - if you have some clusters with PCs in some nets, then you could think about rsync with primary poudriere, to serve locally packages for few other PCs. Hope this help :) -- Regards, Alexander Yerenkow