Tornado 5.1 Documentation
listen(8888) IOLoop.current().start() if __name__ == '__main__': main() Configure your operating system or process manager to run this program to start the server. Please note that it may be necessary setting minfds in your supervisord config. Processes and ports Due to the Python GIL (Global Interpreter Lock), it is necessary to run multiple Python processes to take full advantage of multi-CPU machines best to run one process per CPU. Tornado includes a built-in multi-process mode to start several processes at once. This requires a slight alteration to the standard main function: def main(): app = make_app()0 码力 | 243 页 | 895.80 KB | 1 年前3
 Tornado 4.5 Documentation
Synchronization primitives tornado.queues – Queues for coroutines tornado.process — Utilities for multiple processes Integration with other services tornado.auth — Third-party login with OpenID and OAuth tornado authentication Third party authentication Cross-site request forgery protection Running and deploying Processes and ports Running behind a load balancer Static files and aggressive file caching Debug mode and listen(8888) IOLoop.current().start() if __name__ == '__main__': main() Configure your operating system or process manager to run this program to start the server. Please note that it may be necessary0 码力 | 333 页 | 322.34 KB | 1 年前3
 Tornado 6.1 Documentation
listen(8888) IOLoop.current().start() if __name__ == '__main__': main() Configure your operating system or process manager to run this program to start the server. Please note that it may be necessary or set minfds in your supervisord config. Processes and ports Due to the Python GIL (Global Interpreter Lock), it is necessary to run multiple Python processes to take full advantage of multi-CPU machines best to run one process per CPU. Tornado includes a built-in multi-process mode to start several processes at once (note that multi-process mode does not work on Windows). This requires a slight alteration0 码力 | 245 页 | 904.24 KB | 1 年前3
 Tornado 6.0 Documentation
listen(8888) IOLoop.current().start() if __name__ == '__main__': main() Configure your operating system or process manager to run this program to start the server. Please note that it may be necessary 35 Tornado Documentation, Release 6.0.4 Processes and ports Due to the Python GIL (Global Interpreter Lock), it is necessary to run multiple Python processes to take full advantage of multi-CPU machines best to run one process per CPU. Tornado includes a built-in multi-process mode to start several processes at once. This requires a slight alteration to the standard main function: def main(): app = make_app()0 码力 | 245 页 | 885.76 KB | 1 年前3
 Tornado 5.1 Documentation
Synchronization primitives tornado.queues – Queues for coroutines tornado.process — Utilities for multiple processes Integration with other services tornado.auth — Third-party login with OpenID and OAuth tornado party authentication Cross-site request forgery protection DNS Rebinding Running and deploying Processes and ports Running behind a load balancer Static files and aggressive file caching Debug mode and listen(8888) IOLoop.current().start() if __name__ == '__main__': main() Configure your operating system or process manager to run this program to start the server. Please note that it may be necessary0 码力 | 359 页 | 347.32 KB | 1 年前3
 Tornado 6.4 Documentation
asyncio.Event().wait() if __name__ == '__main__': asyncio.run(main()) Configure your operating system or process manager to run this program to start the server. Please note that it may be necessary or set minfds in your supervisord config. Processes and ports Due to the Python GIL (Global Interpreter Lock), it is necessary to run multiple Python processes to take full advantage of multi-CPU machines simply run multiple copies of your application. Tornado also has the ability to start multiple processes from a single parent process (note that this does not work on Windows). This requires some alterations0 码力 | 268 页 | 1.09 MB | 1 年前3
 Tornado 6.2 Documentation
asyncio.Event().wait() if __name__ == '__main__': asyncio.run(main()) Configure your operating system or process manager to run this program to start the server. Please note that it may be necessary or set minfds in your supervisord config. Processes and ports Due to the Python GIL (Global Interpreter Lock), it is necessary to run multiple Python processes to take full advantage of multi-CPU machines simply run multiple copies of your application. Tornado also has the ability to start multiple processes from a single parent process (note that this does not work on Windows). This requires some alterations0 码力 | 260 页 | 1.06 MB | 1 年前3
 Tornado 6.4 Documentation
asyncio.Event().wait() if __name__ == '__main__': asyncio.run(main()) Configure your operating system or process manager to run this program to start the server. Please note that it may be necessary or set minfds in your supervisord config. Processes and ports Due to the Python GIL (Global Interpreter Lock), it is necessary to run multiple Python processes to take full advantage of multi-CPU machines simply run multiple copies of your application. Tornado also has the ability to start multiple processes from a single parent process (note that this does not work on Windows). This requires some alterations0 码力 | 268 页 | 1.09 MB | 1 年前3
 Tornado 6.4 Documentation
asyncio.Event().wait() if __name__ == '__main__': asyncio.run(main()) Configure your operating system or process manager to run this program to start the server. Please note that it may be necessary or set minfds in your supervisord config. Processes and ports Due to the Python GIL (Global Interpreter Lock), it is necessary to run multiple Python processes to take full advantage of multi-CPU machines simply run multiple copies of your application. Tornado also has the ability to start multiple processes from a single parent process (note that this does not work on Windows). This requires some alterations0 码力 | 268 页 | 1.09 MB | 1 年前3
 Tornado 6.3 Documentation
asyncio.Event().wait() if __name__ == '__main__': asyncio.run(main()) Configure your operating system or process manager to run this program to start the server. Please note that it may be necessary or set minfds in your supervisord config. Processes and ports Due to the Python GIL (Global Interpreter Lock), it is necessary to run multiple Python processes to take full advantage of multi-CPU machines simply run multiple copies of your application. Tornado also has the ability to start multiple processes from a single parent process (note that this does not work on Windows). This requires some alterations0 码力 | 264 页 | 1.06 MB | 1 年前3
共 20 条
- 1
 - 2
 













