Heroku 上的扭曲 Web 服务器?
Twisted web server on Heroku?
直截了当地说,该应用程序的主要目的是作为 android 客户端的后端服务器,而不是 Web 应用程序。将它部署在 Heroku 上是个好主意吗?还是我应该考虑下一个堆栈到 AWS 等 IaaS?
我问这个是因为我在某处读到 Heroku 的 HTTP 超时功能可能违背扭曲服务器的异步非阻塞特性。
Twisted 会很好:它非常像 Ruby 的 Puma 或 Node.js,并且都受支持。
Pure Python applications, such as headless processes and evented web frameworks like Twisted, are fully supported.
查看此处了解更多信息:https://devcenter.heroku.com/articles/python-support
直截了当地说,该应用程序的主要目的是作为 android 客户端的后端服务器,而不是 Web 应用程序。将它部署在 Heroku 上是个好主意吗?还是我应该考虑下一个堆栈到 AWS 等 IaaS? 我问这个是因为我在某处读到 Heroku 的 HTTP 超时功能可能违背扭曲服务器的异步非阻塞特性。
Twisted 会很好:它非常像 Ruby 的 Puma 或 Node.js,并且都受支持。
Pure Python applications, such as headless processes and evented web frameworks like Twisted, are fully supported.
查看此处了解更多信息:https://devcenter.heroku.com/articles/python-support