Thanks for the response Roger;
I am still a little hazy on #1. If the I/O-Loop thread receives a request, calls a [@Asynchronous] RequestHandler which in turn creates a "Task" object equipped with an AsyncResult , queues the task for execution and then returns, as far as the I/O-Loop thread is concerned, this would qualify as an asynchronous task, no ?
(In this scenario, a thread pool thread grabs the task off the queue, does something useful with it and writes the result to the AsyncResult).
It seemed to me that this is more or less what the AsyncDbApi is fictitiously doing.
I noticed the touch command, but was not sure how it was intended to be used.
//Nicholas
https://github.com/facebook/tornado/wiki/Threading-and-concurrency
Thanks Ben Darnell.
/ Roger
Cool. Just let me know if some parts of the example doesn't make sense.
Roger