Gentoo Archives: gentoo-user

From: Pandu Poluan <pandu@××××××.info>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] The LIGHTEST web server (just for serving files)?
Date: Sat, 12 Nov 2011 13:23:29
Message-Id: CAA2qdGW7sMoecT=AW_9g1VJin46w7bz_UcaD5kCuH1t22rkvog@mail.gmail.com
In Reply to: Re: [gentoo-user] The LIGHTEST web server (just for serving files)? by Mick
1 On Nov 12, 2011 8:05 PM, "Mick" <michaelkintzios@×××××.com> wrote:
2 >
3 > On Saturday 12 Nov 2011 12:40:08 Pandu Poluan wrote:
4 > > On Nov 12, 2011 7:00 PM, "Mick" <michaelkintzios@×××××.com> wrote:
5 > > > I've been using boa just for this purpose for years:
6 > > >
7 > > > * www-servers/boa
8 > > >
9 > > > Available versions:
10 > > > ~ 0.94.14_rc21 "~x86 ~sparc ~mips ~ppc ~amd64"
11 [doc]
12 > > >
13 > > > Homepage: http://www.boa.org/
14 > > > Description: A very small and very fast http daemon.
15 > > >
16 > > > It can be easily locked down for internet facing roles.
17 > > >
18 > > > I've also used thttpd (you can throttle its bandwidth if that's
19 important
20 > >
21 > > in
22 > >
23 > > > your network), but it's probably more than required for this purpose:
24 > > >
25 > > > * www-servers/thttpd
26 > > >
27 > > > Available versions:
28 > > > 2.25b-r7 "amd64 ~hppa ~mips ppc sparc x86
29 > >
30 > > ~x86-fbsd" [static]
31 > >
32 > > > ~ 2.25b-r8 "~amd64 ~hppa ~mips ~ppc ~sparc ~x86
33 > >
34 > > ~x86-fbsd"
35 > >
36 > > > [static]
37 > > >
38 > > > Homepage: http://www.acme.com/software/thttpd/
39 > > > Description: Small and fast multiplexing webserver.
40 > >
41 > > Thanks for all the input!
42 > >
43 > > During my drive home, something hit my brain: why not have the 'master'
44 > > server share the distfiles dir via NFS?
45 > >
46 > > So, the question now becomes: what's the drawback/benefit of
47 NFS-sharing vs
48 > > HTTP-sharing? The scenario is back-end LAN at the office, thus, a
49 trusted
50 > > network by definition.
51 >
52 > HTTP is not really 'sharing'. It is just 'copying'. Clients download the
53 > distfiles from the home server to minimise load on the gentoo mirrors.
54
55 Yeah, should've put quotes around the sharing part.
56
57 > Following the download a client machine will have a local copy of said
58 distfile
59 > in the client://usr/distfile.
60 >
61 > With NFS there is only one copy of the file, on the server, shared by
62 other
63 > clients in the LAN.
64 >
65 > In my case the server is not always on, so NFS would not be appropriate.
66
67 Hmmm, you have a point there.
68
69 Rgds,