httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
Subject Re: Apache 2.0 ideas
Date Tue, 03 Nov 1998 17:31:56 GMT
On Tue, 3 Nov 1998, Dean Gaudet wrote:

> On Tue, 3 Nov 1998, Marc Slemko wrote:
> 
> > On Mon, 2 Nov 1998, Dean Gaudet wrote:
> > 
> > > There's essentially no userland syncrhonization required in a static
> > > content web server (i.e. a benchmark web server).  For example on linux
> > > open()/sendfile() should produce the fastest web server possible from
> > > userland... and there's nothing in there which requires userland to
> > > synchronize (you have to do a little magic with memory allocation).  So
> > > this is easy.

You aren't caching open descriptors?

> > 
> > Header caching?
> 
> Why bother?

Well you need metadata caching of some sort, no, even if you don't want
to cache generated headers?  

Even if you didn't for filesystem "backed" documents, other backings may
make getting metadata a lot more expensive.

> You can use a few rw locks to do the Date: header without much
> synchronization at all... caching headers may be worth it single cpu, but
> in a four way I bet you'll be a lot happier without it. 

Mmm.  Maybe.


Mime
View raw message