1 |
Isn't there a kernelland HTTP server? ISTR seeing the option. I don't |
2 |
know anything about it, though. |
3 |
|
4 |
On Mon, Nov 14, 2011 at 5:10 AM, microcai <microcai@×××××××××××××.org> wrote: |
5 |
> |
6 |
> http://code.google.com/p/bashttpd/ |
7 |
> |
8 |
> run with systemd or xinetd |
9 |
> |
10 |
> |
11 |
> |
12 |
> 于 2011年11月14日 18:05, J. Roeleveld 写道: |
13 |
>> On Sat, November 12, 2011 2:11 pm, YoYo Siska wrote: |
14 |
>>> On Sat, Nov 12, 2011 at 07:40:08PM +0700, Pandu Poluan wrote: |
15 |
>>>> During my drive home, something hit my brain: why not have the 'master' |
16 |
>>>> server share the distfiles dir via NFS? |
17 |
>>>> |
18 |
>>>> So, the question now becomes: what's the drawback/benefit of NFS-sharing |
19 |
>>>> vs |
20 |
>>>> HTTP-sharing? The scenario is back-end LAN at the office, thus, a |
21 |
>>>> trusted |
22 |
>>>> network by definition. |
23 |
>>> |
24 |
>>> NFS doesn't like when it looses connection to the server. The only |
25 |
>>> problems I had ever with NFS were because I forgot to unmout it before a |
26 |
>>> server restart or when I took a computer (laptop) off to another |
27 |
>>> network... |
28 |
>> |
29 |
>> NFS-shares can work, but these need to be umounted before network goes. |
30 |
>> If server goes, problems can occur there as well. |
31 |
>> But that is true with any server/client filesharing. (CIFS/Samba, for |
32 |
>> instance) |
33 |
>> |
34 |
>>> Otherwise it works well, esp. when mounted ro on the clients, however |
35 |
>>> for distfiles it might make sense to allow the clients download and save |
36 |
>>> tarballs that are not there yet ;), though I never used it with many |
37 |
>>> computer emerging/downloading same same stuff, so can't say if locking |
38 |
>>> etc works correctly... |
39 |
>> |
40 |
>> Locking works correctly, have had 5 machines share the same NFS-shared |
41 |
>> distfiles and all downloading the source-files. |
42 |
>> |
43 |
>>> And with NFS the clients won't duplicate the files in their own |
44 |
>>> distfiles directories ;) |
45 |
>> |
46 |
>> Big plus, for me :) |
47 |
>> |
48 |
>> -- |
49 |
>> Joost |
50 |
>> |
51 |
>> |
52 |
> |
53 |
> |
54 |
> |
55 |
|
56 |
|
57 |
|
58 |
-- |
59 |
:wq |