Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Dec 2001 20:38:41 +0100
From:      Gabriel Ambuehl <gabriel_ambuehl@buz.ch>
To:        Roy Sigurd Karlsbakk <roy@karlsbakk.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: in-kernel web server???
Message-ID:  <1461061760260.20011216203841@buz.ch>
In-Reply-To: <Pine.LNX.4.30.0112161857330.5634-100000@mustard.heime.net>
References:  <Pine.LNX.4.30.0112161857330.5634-100000@mustard.heime.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----

Hello Roy,

Sunday, December 16, 2001, 7:02:46 PM, you wrote:

> I've been trying to setup a pretty weird system with Linux and the
> in-kernel web server Tux. This gives me quite good I/O, and with
> zero-copy memory operation, this is FAST!

> Problem: Linux caching/buffering sucks, and by reading lots of
> large files at once (some 200 files, each 3-4GB), the system slows
> down to a mere 1MB/sec after 30-40 seconds.

> Are there any Tux/khttpd-like (in-kernel) web servers for FreeBSD?

I think putting a webserver in the kernel is a pretty stupid thing to
do since this means that you either can serve statical content only
or
you need some mechanism to cope with dynamic content (one could
somehow communicate with a userland PHP version, sure, but how much
would this gain, then?). Further, it imposes a lot of security
issues.

There are many very small webservers which are mainly made to serve
statical content. Although these probably have higher resource
requirements I think the benefit of being able to easily run them on
systems with more than one CPU could help a lot.


Best regards,
 Gabriel
"

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5i

iQEVAwUBPBzqNcZa2WpymlDxAQH5GggAoIeb7MI9Pctc1jarCGQgRTDL2StSFl1h
N1uICL5TvakMz9QQ8vZkwRiybbbD/lidTFRLpHSsz9eqQZ7RdKDnUIZrG0CPIzdr
DpH8yjZkXXMzmgmKob76G46zWyq4aVsuchtKN4T3loLnRUwwZMyOjQKWYJlmUrRB
JFuvUZwqBXhWAtrXKBCeBC4BdcopsbItSGn2Tim0bFslBfLKw7DxhoUcZnpf6XmR
BKi6kCggQNLs73483zvYrP+paM/KM6zKA7hf67VdRXVmUMrEEAVT/mpIpj0YG7G1
xC8r3zH4Gv0rijiBQPGLXfJMzq4cyTgxhCwyyll02/J50In2DWIBYA==
=prXK
-----END PGP SIGNATURE-----


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1461061760260.20011216203841>