Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2008 13:37:10 -0600
From:      Scott Long <scottl@samsco.org>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        freebsd-current@freebsd.org, Jille <jille@quis.cx>
Subject:   Re: Http Accept filters (accf_http)
Message-ID:  <480E3E66.3000303@samsco.org>
In-Reply-To: <8481.1208889581@critter.freebsd.dk>

index | next in thread | previous in thread | raw e-mail

Poul-Henning Kamp wrote:
> In message <480E307B.901@quis.cx>, Jille writes:
>> Hello,
>>
>> I've read about accf_http(9) some time ago, and I was wondering about 
>> it's performance.
>> Does it increase performance on all workloads ?
>> (I'm intrested in the improvements for a PHP-apache-webserver with about 
>> 50 request/second average.)
> 
> I doubt you will see measurable performance difference from using
> request filters at such low traffic.
> 

The accept filters do reduce service latency and probably have a small
benefit in CPU utilization.  50 requests/sec is probably enough to see
a benefit for something like PHP or PERL.  It definitely won't hurt, and
even if there's no measurable benefit now, it'll help prepare you for
scaling in the future.

Scott



home | help

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