httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akins, Brian" <Brian.Ak...@turner.com>
Subject [PATCH] mod_wombat. Bakins kludges
Date Tue, 29 May 2007 18:57:06 GMT
First, I have no intentions of this being accepted as is.  I had a
conversation with brianm and he said to post.

Basically, I need to get more performance and my version is about 20% faster
than the current trunk of mod_wombat.  Of course, mine is not quite as
feature-full.

Creates a vm per thread as server startup for each server scoped item.
Can't add new ones, must be defined in config. Cache is forever on them
essentially bcs load_file never gets called again.

Use an array of apr_arrays for the hooks.  Each hook is an index into the
array.  This gets rid of the multiple hash lookups per request.  The
strcmp's and hashing add up when doing 20k requests/second.

Lots of other stuff done as well.  Mostly striping out stuff.  LuaConfig is
gone.

So, this is basically to hopefully provide some food for thought.



-- 
Brian Akins
Chief Operations Engineer
Turner Digital Media Technologies


Mime
View raw message