 Tornado 4.5 Documentation
Introduction Asynchronous and non-Blocking I/O Coroutines Queue example - a concurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying server Coroutines and concurrency tornado.gen — Simplify asynchronous code tornado.concurrent — Work with threads and futures tornado.locks – Synchronization primitives tornado.queues – Queues for coroutines Parallelism Interleaving Looping Running in the background Queue example - a concurrent web spider Structure of a Tornado web application The Application object Subclassing RequestHandler Handling request0 码力 | 333 页 | 322.34 KB | 1 年前3 Tornado 4.5 Documentation
Introduction Asynchronous and non-Blocking I/O Coroutines Queue example - a concurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying server Coroutines and concurrency tornado.gen — Simplify asynchronous code tornado.concurrent — Work with threads and futures tornado.locks – Synchronization primitives tornado.queues – Queues for coroutines Parallelism Interleaving Looping Running in the background Queue example - a concurrent web spider Structure of a Tornado web application The Application object Subclassing RequestHandler Handling request0 码力 | 333 页 | 322.34 KB | 1 年前3
 Tornado 5.1 Documentation
Introduction Asynchronous and non-Blocking I/O Coroutines Queue example - a concurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying Utilities tornado.autoreload — Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.stack_context Parallelism Interleaving Looping Running in the background Queue example - a concurrent web spider Structure of a Tornado web application The Application object Subclassing RequestHandler Handling request0 码力 | 359 页 | 347.32 KB | 1 年前3 Tornado 5.1 Documentation
Introduction Asynchronous and non-Blocking I/O Coroutines Queue example - a concurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying Utilities tornado.autoreload — Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.stack_context Parallelism Interleaving Looping Running in the background Queue example - a concurrent web spider Structure of a Tornado web application The Application object Subclassing RequestHandler Handling request0 码力 | 359 页 | 347.32 KB | 1 年前3
 Tornado 6.2 Documentation
Introduction Asynchronous and non-Blocking I/O Coroutines Queue example - a concurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying Utilities tornado.autoreload — Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing Parallelism Interleaving Looping Running in the background Queue example - a concurrent web spider Structure of a Tornado web application The main coroutine The Application object Subclassing RequestHandler0 码力 | 407 页 | 385.03 KB | 1 年前3 Tornado 6.2 Documentation
Introduction Asynchronous and non-Blocking I/O Coroutines Queue example - a concurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying Utilities tornado.autoreload — Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing Parallelism Interleaving Looping Running in the background Queue example - a concurrent web spider Structure of a Tornado web application The main coroutine The Application object Subclassing RequestHandler0 码力 | 407 页 | 385.03 KB | 1 年前3
 Tornado 6.5 DocumentationIntroduction Asynchronous and non-Blocking I/O Coroutines Queue example - a concurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying Utilities tornado.autoreload — Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing Parallelism Interleaving Looping Running in the background Queue example - a concurrent web spider Structure of a Tornado web application The main coroutine The Application object Subclassing RequestHandler0 码力 | 437 页 | 405.14 KB | 3 月前3 Tornado 6.5 DocumentationIntroduction Asynchronous and non-Blocking I/O Coroutines Queue example - a concurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying Utilities tornado.autoreload — Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing Parallelism Interleaving Looping Running in the background Queue example - a concurrent web spider Structure of a Tornado web application The main coroutine The Application object Subclassing RequestHandler0 码力 | 437 页 | 405.14 KB | 3 月前3
 Tornado 6.4 Documentation
Introduction Asynchronous and non-Blocking I/O Coroutines Queue example - a concurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying Utilities tornado.autoreload — Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing Parallelism Interleaving Looping Running in the background Queue example - a concurrent web spider Structure of a Tornado web application The main coroutine The Application object Subclassing RequestHandler0 码力 | 432 页 | 402.58 KB | 1 年前3 Tornado 6.4 Documentation
Introduction Asynchronous and non-Blocking I/O Coroutines Queue example - a concurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying Utilities tornado.autoreload — Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing Parallelism Interleaving Looping Running in the background Queue example - a concurrent web spider Structure of a Tornado web application The main coroutine The Application object Subclassing RequestHandler0 码力 | 432 页 | 402.58 KB | 1 年前3
 Tornado 6.4 Documentation
Introduction Asynchronous and non-Blocking I/O Coroutines Queue example - a concurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying Utilities tornado.autoreload — Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing Parallelism Interleaving Looping Running in the background Queue example - a concurrent web spider Structure of a Tornado web application The main coroutine The Application object Subclassing RequestHandler0 码力 | 432 页 | 402.58 KB | 1 年前3 Tornado 6.4 Documentation
Introduction Asynchronous and non-Blocking I/O Coroutines Queue example - a concurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying Utilities tornado.autoreload — Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing Parallelism Interleaving Looping Running in the background Queue example - a concurrent web spider Structure of a Tornado web application The main coroutine The Application object Subclassing RequestHandler0 码力 | 432 页 | 402.58 KB | 1 年前3
 Tornado 6.4 Documentation
Introduction Asynchronous and non-Blocking I/O Coroutines Queue example - a concurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying Utilities tornado.autoreload — Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing Parallelism Interleaving Looping Running in the background Queue example - a concurrent web spider Structure of a Tornado web application The main coroutine The Application object Subclassing RequestHandler0 码力 | 432 页 | 402.58 KB | 1 年前3 Tornado 6.4 Documentation
Introduction Asynchronous and non-Blocking I/O Coroutines Queue example - a concurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying Utilities tornado.autoreload — Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing Parallelism Interleaving Looping Running in the background Queue example - a concurrent web spider Structure of a Tornado web application The main coroutine The Application object Subclassing RequestHandler0 码力 | 432 页 | 402.58 KB | 1 年前3
 Tornado 6.3 Documentation
Introduction Asynchronous and non-Blocking I/O Coroutines Queue example - a concurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying Utilities tornado.autoreload — Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing Parallelism Interleaving Looping Running in the background Queue example - a concurrent web spider Structure of a Tornado web application The main coroutine The Application object Subclassing RequestHandler0 码力 | 423 页 | 398.18 KB | 1 年前3 Tornado 6.3 Documentation
Introduction Asynchronous and non-Blocking I/O Coroutines Queue example - a concurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying Utilities tornado.autoreload — Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing Parallelism Interleaving Looping Running in the background Queue example - a concurrent web spider Structure of a Tornado web application The main coroutine The Application object Subclassing RequestHandler0 码力 | 423 页 | 398.18 KB | 1 年前3
 Tornado 6.1 Documentation
Introduction Asynchronous and non-Blocking I/O Coroutines Queue example - a concurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying Utilities tornado.autoreload — Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing Parallelism Interleaving Looping Running in the background Queue example - a concurrent web spider Structure of a Tornado web application The Application object Subclassing RequestHandler Handling request0 码力 | 931 页 | 708.03 KB | 1 年前3 Tornado 6.1 Documentation
Introduction Asynchronous and non-Blocking I/O Coroutines Queue example - a concurrent web spider Structure of a Tornado web application Templates and UI Authentication and security Running and deploying Utilities tornado.autoreload — Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing Parallelism Interleaving Looping Running in the background Queue example - a concurrent web spider Structure of a Tornado web application The Application object Subclassing RequestHandler Handling request0 码力 | 931 页 | 708.03 KB | 1 年前3
 Tornado 4.5 Documentation
Asynchronous An asynchronous function returns before it is finished, and generally causes some work to happen in the background before triggering some future action in the application (as opposed to futures. You can use tornado.gen.convert_yielded to convert anything that would work with yield into a form that will work with await: async def f(): executor = concurrent.futures.ThreadPoolExecutor() once. Eventually, a worker fetches a page whose URLs have all been seen before, and there is also no work left in the queue. Thus that worker’s call to task_done decrements the counter to zero. The main coroutine0 码力 | 222 页 | 833.04 KB | 1 年前3 Tornado 4.5 Documentation
Asynchronous An asynchronous function returns before it is finished, and generally causes some work to happen in the background before triggering some future action in the application (as opposed to futures. You can use tornado.gen.convert_yielded to convert anything that would work with yield into a form that will work with await: async def f(): executor = concurrent.futures.ThreadPoolExecutor() once. Eventually, a worker fetches a page whose URLs have all been seen before, and there is also no work left in the queue. Thus that worker’s call to task_done decrements the counter to zero. The main coroutine0 码力 | 222 页 | 833.04 KB | 1 年前3
共 20 条
- 1
- 2














