Hello.
I have set up a little benchmark to test ithow thread pool may improve the hunchentoot performance.
In two words it looks useful. Details are below.
I'm running hunchentoot on a linux VPS with 360 MB of memory, SBCL 1.0.11.
It serves little html-template page, the template is filled from an in-memory object.
Testing is performed by the AbacheBench tool: ab -c 10 -n 10000 http://localhost:4242/view-order?order-id=1
-n 10000 means total number of requests is 10000 -c 10 means that the requests are issued by 10 concurrent threads
Result for the unmodified hunchentoot 0.15.7 was 163 requests per second.
For slightly modified version with thread pool it was 1295 request per second.
Full AbacheBench reports for the both versions are attached.
Patch for port-sbcl.lisp with the simple thread pool implementation is also attached. It is against 0.15.7, sorry it's not for the current development version of hunchentoot, but I created this thead pool code about half a year ago.
Best regards, -Anton