Gentoo Archives: gentoo-user

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

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] The LIGHTEST web server (just for serving files)? "Stéphane Guedon" <stephane@××××××××××.eu>
Re: [gentoo-user] The LIGHTEST web server (just for serving files)? Pandu Poluan <pandu@××××××.info>