[hunchentoot-devel] Robustness change committed

Hans Hübner hans.huebner at gmail.com
Thu Feb 10 17:25:59 UTC 2011


Hi,

I committed a (modified) patch submitted by Dan Weinreb that makes
Hunchentoot more resilient to high load conditions by limiting the
number of request handler threads that can be running at any time.  If
you are running a site with a lot of traffic, you'll want to be aware
of this change.

Documentation for this feature is not yet available.

-Hans


---------- Forwarded message ----------
From: BKNR Commits <bknr at bknr.net>
Date: Thu, Feb 10, 2011 at 6:22 PM
Subject: [bknr-cvs] hans changed trunk/thirdparty/hunchentoot/
To: bknr-cvs at common-lisp.net


Revision: 4645
Author: hans
URL: http://bknr.net/trac/changeset/4645

Patch from Dan Weinreb:

limit the maximum number of request handler threads that a taskmaster may
create.
Support a new SOFT argument to the STOP function that makes Hunchentoot
wait until all currently outstanding requests have been processed before
returning.

Add a favicon.ico to the standard file tree.
Refactorings in the START-OUTPUT function to separate out the actual
header sending from the request processing part.  The new SEND-RESPONSE
function does the I/O part of sending the response header (and possibly
content) and also does the logging.  Used by the thread count limiting
code to send a 503 message if no more threads can be created.

U   trunk/thirdparty/hunchentoot/acceptor.lisp
U   trunk/thirdparty/hunchentoot/compat.lisp
U   trunk/thirdparty/hunchentoot/headers.lisp
U   trunk/thirdparty/hunchentoot/taskmaster.lisp
U   trunk/thirdparty/hunchentoot/util.lisp
A   trunk/thirdparty/hunchentoot/www/favicon.ico

Change set too large, please see URL above

_______________________________________________
bknr-cvs mailing list
bknr-cvs at common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/bknr-cvs




More information about the Tbnl-devel mailing list