From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RPDQZ-0008Av-3P for garchives@archives.gentoo.org; Sat, 12 Nov 2011 13:15:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7EBA21C0E6; Sat, 12 Nov 2011 13:14:59 +0000 (UTC) Received: from einstein.22decembre.eu (einstein.22decembre.eu [88.174.229.171]) by pigeon.gentoo.org (Postfix) with ESMTP id DF30E21C058 for ; Sat, 12 Nov 2011 13:13:46 +0000 (UTC) Received: from luciole.localnet (luciole.22decembre.eu [IPv6:2a01:e35:8aee:5ab0:223:8bff:fe75:2ece]) by einstein.22decembre.eu (Postfix) with ESMTP id 9D60E34FAD for ; Sat, 12 Nov 2011 14:13:44 +0100 (CET) From: =?utf-8?q?St=C3=A9phane_Guedon?= Organization: http://www.22decembre.eu To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] The LIGHTEST web server (just for serving files)? Date: Sat, 12 Nov 2011 14:13:41 +0100 User-Agent: KMail/1.13.7 (Linux/2.6.38-tuxonice-r1; KDE/4.6.5; x86_64; ; ) References: <201111121302.06428.michaelkintzios@gmail.com> In-Reply-To: <201111121302.06428.michaelkintzios@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1472648.Uoe2KGvuyI"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201111121413.41653.stephane@22decembre.eu> X-Archives-Salt: 6fa2b162-cbc7-49b1-b079-c2f2fce6b2ad X-Archives-Hash: 6ffb21f1b1222047cb5bccde724bf285 --nextPart1472648.Uoe2KGvuyI Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Saturday 12 November 2011 14:01:54 Mick wrote: > On Saturday 12 Nov 2011 12:40:08 Pandu Poluan wrote: > > On Nov 12, 2011 7:00 PM, "Mick" wrote: > > > I've been using boa just for this purpose for years: > > >=20 > > > * www-servers/boa > > >=20 > > > Available versions: > > > ~ 0.94.14_rc21 "~x86 ~sparc ~mips ~ppc ~amd64" > > > [doc] > > > =20 > > > Homepage: http://www.boa.org/ > > > Description: A very small and very fast http daemon. > > >=20 > > > It can be easily locked down for internet facing roles. > > >=20 > > > I've also used thttpd (you can throttle its bandwidth if that's > > > important > >=20 > > in > >=20 > > > your network), but it's probably more than required for this purpose: > > >=20 > > > * www-servers/thttpd > > >=20 > > > Available versions: > > > 2.25b-r7 "amd64 ~hppa ~mips ppc sparc x86 > >=20 > > ~x86-fbsd" [static] > >=20 > > > ~ 2.25b-r8 "~amd64 ~hppa ~mips ~ppc ~sparc ~x86 > >=20 > > ~x86-fbsd" > >=20 > > > [static] > > >=20 > > > Homepage: http://www.acme.com/software/thttpd/ > > > Description: Small and fast multiplexing webserver. > >=20 > > Thanks for all the input! > >=20 > > During my drive home, something hit my brain: why not have the 'master' > > server share the distfiles dir via NFS? > >=20 > > So, the question now becomes: what's the drawback/benefit of NFS-sharing > > vs HTTP-sharing? The scenario is back-end LAN at the office, thus, a > > trusted network by definition. >=20 > HTTP is not really 'sharing'. It is just 'copying'. Clients download the > distfiles from the home server to minimise load on the gentoo mirrors. > Following the download a client machine will have a local copy of said > distfile in the client://usr/distfile. >=20 > With NFS there is only one copy of the file, on the server, shared by oth= er > clients in the LAN. >=20 > In my case the server is not always on, so NFS would not be appropriate. With NFS, there is only one distfiles repo. So, when someone emerge an unkn= own=20 program, the distfiles become available to your whole network (if shared of= =20 course). I share /mnt/portage (the portage tree on a reiserfs) and /mnt/distfiles (o= n a=20 ext4 fs). The tree is synced only once also ! It reduce server load (bandwi= tch=20 on gentoo master server) and your global diskspace used (because repo are=20 mutualized). =2D-=20 St=C3=A9phane Guedon page web : http://www.22decembre.eu/ carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf cl=C3=A9 publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.= asc --nextPart1472648.Uoe2KGvuyI Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iJwEAAECAAYFAk6+cQUACgkQPJH+in8bwIO6mQQAhf75G2h3yNQTeXPuKq5iDjmQ AG7pD85t6YrsTxzDpfC+uuefWI/M3szQKu8j8CUbP8iFXfb3ET1oL7a8/F/TSmxO uFD8UebKBt54Qjb7osv4a5hB5E4AyclkTGOBLWP5H8P/op+oTxZWJOglP7Dt0D3Y dStGOV65doBFA7wjZuM= =pDY7 -----END PGP SIGNATURE----- --nextPart1472648.Uoe2KGvuyI--