You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Akins, Brian" <Br...@turner.com> on 2007/05/29 20:57:06 UTC

[PATCH] mod_wombat. Bakins kludges

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