about summary refs log tree commit homepage
path: root/TODO
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-02-09 19:48:23 -0800
committerEric Wong <normalperson@yhbt.net>2009-02-09 19:52:27 -0800
commit8c711107d8c53d899048190e5870f2689f63e529 (patch)
treea8b60d7ea82b6ef1857ea46063ec4ddce2dd300f /TODO
parent02772f4a4693c0a8eb9412e60df52e325f76657a (diff)
downloadunicorn-8c711107d8c53d899048190e5870f2689f63e529.tar.gz
The timeout mechanism is implemented via shared tempfile handles
between the worker and master and checking the ctime of the
tempfile from the master.  Instead of using sockets or pipes to
communicate between the workers and master, this allows the
master to avoid being overloaded with wakeups when the workers
are running at full crank (or this avoids having extra logic in
workers to throttle wakeup notifications to master).

The master still wakes up at a leisurely interval of once per
second to check, reap, or murder workers that are timed out.

[1] http://cr.yp.to/docs/selfpipe.html
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions