简体   繁体   English

bottle.py服务器部署

[英]bottle.py server deployment

I am moving from development to deployment and wonder how can i make my bottle.py application service both HTTP and HTTPS requests, and be multiprocess/multithreaded? 我正在从开发过渡到部署,并且想知道如何使我的bottle.py应用程序同时服务于HTTP和HTTPS请求,并实现多进程/多线程? I understand I need to use something like cherrypy instead of wsgiref? 我知道我需要使用类似cherrypy的代替wsgiref吗?

In the Docs there are ideas to increase performance and multi-thread. 文档中提出了提高性能和多线程的想法。 I use a different folder and port for the deployed version so I can test without disrupting use. 我为部署的版本使用了不同的文件夹和端口,因此我可以在不中断使用的情况下进行测试。

The long text is here and includes pasteserver, and several others. 长文本在这里 ,包括pasteserver和其他几个文本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM