On Fri, Jun 4, 2010 at 3:21 PM, Akins, Brian <brian.ak...@turner.com> wrote: > All of you folks who have to answer user questions, go ahead and ready your > hate mail :) > > I've been playing some with Varnish (long story) and lots of people seem to > like it. The config "language" (VCL) is just a thin wrapper on top of C. > Heck, you can just write C inline. > > Also, I do a good bit with Lua -- in httpd and other projects. Every time I > run profiles on this stuff, Lua is always 3 out of the top 5 cpu consumers. > And lots of it is just the language itself (all the table look-ups) and we > highly optimized our method dispatches (using apr_hash, even had a version > using gperf). Now this is probably just fine for mere mortals, but it has > always bothered me. We always meant to go back and write higher level > modules based on the "low level" Lua bindings, but we never did and we have > several non programmers who are happily writing "configs" in Lua.
Are you using LuaJIT 2? The performance numbers its putting up seemed very impressive. http://luajit.org/luajit.html