From: "Stéphane Guedon" <stephane@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 [thread overview]
Message-ID: <201111121413.41653.stephane@22decembre.eu> (raw)
In-Reply-To: <201111121302.06428.michaelkintzios@gmail.com>
[-- Attachment #1: Type: Text/Plain, Size: 2721 bytes --]
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" <michaelkintzios@gmail.com> wrote:
> > > I've been using boa just for this purpose for years:
> > >
> > > * www-servers/boa
> > >
> > > Available versions:
> > > ~ 0.94.14_rc21 "~x86 ~sparc ~mips ~ppc ~amd64"
> > > [doc]
> > >
> > > Homepage: http://www.boa.org/
> > > Description: A very small and very fast http daemon.
> > >
> > > It can be easily locked down for internet facing roles.
> > >
> > > I've also used thttpd (you can throttle its bandwidth if that's
> > > important
> >
> > in
> >
> > > your network), but it's probably more than required for this purpose:
> > >
> > > * www-servers/thttpd
> > >
> > > Available versions:
> > > 2.25b-r7 "amd64 ~hppa ~mips ppc sparc x86
> >
> > ~x86-fbsd" [static]
> >
> > > ~ 2.25b-r8 "~amd64 ~hppa ~mips ~ppc ~sparc ~x86
> >
> > ~x86-fbsd"
> >
> > > [static]
> > >
> > > Homepage: http://www.acme.com/software/thttpd/
> > > Description: Small and fast multiplexing webserver.
> >
> > Thanks for all the input!
> >
> > During my drive home, something hit my brain: why not have the 'master'
> > server share the distfiles dir via NFS?
> >
> > 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.
>
> 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.
>
> With NFS there is only one copy of the file, on the server, shared by other
> clients in the LAN.
>
> 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 unknown
program, the distfiles become available to your whole network (if shared of
course).
I share /mnt/portage (the portage tree on a reiserfs) and /mnt/distfiles (on a
ext4 fs). The tree is synced only once also ! It reduce server load (bandwitch
on gentoo master server) and your global diskspace used (because repo are
mutualized).
--
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 316 bytes --]
next prev parent reply other threads:[~2011-11-12 13:15 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-12 8:24 [gentoo-user] The LIGHTEST web server (just for serving files) ? Pandu Poluan
2011-11-12 8:46 ` Nilesh Govindarajan
2011-11-12 9:01 ` Pandu Poluan
2011-11-12 9:14 ` Florian Philipp
2011-11-12 11:55 ` [gentoo-user] The LIGHTEST web server (just for serving files)? Mick
2011-11-12 12:40 ` Pandu Poluan
2011-11-12 13:01 ` Mick
2011-11-12 13:13 ` Stéphane Guedon [this message]
2011-11-12 13:22 ` Pandu Poluan
2011-11-12 13:11 ` YoYo Siska
2011-11-12 13:23 ` Pandu Poluan
2011-11-14 10:05 ` J. Roeleveld
2011-11-14 10:10 ` microcai
2011-11-14 14:36 ` Michael Mol
2011-11-14 22:01 ` v_2e
2011-11-15 18:40 ` [gentoo-user] " Steven J Long
2011-11-12 13:14 ` [gentoo-user] " Florian Philipp
2011-11-12 13:33 ` Pandu Poluan
2011-11-12 17:05 ` [gentoo-user] " Holger Hoffstaette
2011-11-12 22:01 ` [gentoo-user] " Neil Bothwick
2011-11-13 0:18 ` William Kenworthy
2011-11-12 13:39 ` [gentoo-user] The LIGHTEST web server (just for serving files) ? Ciprian Dorin Craciun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201111121413.41653.stephane@22decembre.eu \
--to=stephane@22decembre.eu \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox