Date: Fri, 02 May 2003 10:20:42 -0300 From: "Daniel C. Sobral" <dcs@tcoip.com.br> To: Niall Dalton <ndalton@lastminute.com> Cc: freebsd-current@freebsd.org Subject: Re: In-kernel http server Message-ID: <3EB270AA.9000904@tcoip.com.br> In-Reply-To: <1051797636.2209.142.camel@localhost> References: <1051793484.2200.112.camel@localhost> <3EB12490.4000500@newsguy.com> <1051797636.2209.142.camel@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
Niall Dalton wrote: > On Thu, 2003-05-01 at 14:43, Daniel C. Sobral wrote: > >>Supposedly, most of the gain of a kernel-based httpd can be achieved >>through accept filters (specifically, of course, the accept_http filter). > > > You mean simply compiling the accept_http filter into the > kernel and running a standard web server is it? Has this > been benchmarked? A google search didn't throw up much for > me on this. AFAIK, the application has to select the accept filter: An accept filter is requested via the setsockopt(2) system call, passing in an optname of SO_ACCEPTFILTER. (that's from accept_filter(9)) It's based on something Yahoo uses in-house, if my memory doesn't fail me. -- Daniel C. Sobral (8-DCS) Gerencia de Operacoes Divisao de Comunicacao de Dados Coordenacao de Seguranca VIVO Centro Oeste Norte Fones: 55-61-313-7654/Cel: 55-61-9618-0904 E-mail: Daniel.Capo@tco.net.br Daniel.Sobral@tcoip.com.br dcs@tcoip.com.br Outros: dcs@newsguy.com dcs@freebsd.org capo@notorious.bsdconspiracy.net I exist, therefore I am paid.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EB270AA.9000904>