TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Python: Starting Tornado Apps at Boot using Upstart

21 点作者 hoop大约 15 年前

3 条评论

frognibble大约 15 年前
Given Tornado's single threaded design, a production service should run multiple instances of Tornado behind a proxy.<p>Upstart does not help with the multiple instance problem. Upstart adds the problem of running code with elevated privilege.<p>I think it might be simpler to write a script to start/stop/restart daemon Tornado instances running in an unprivileged account.
评论 #1330537 未加载
thegoleffect大约 15 年前
I liked the "drop privileges in Python for Tornado apps" article more. But even then, you would want to chroot/jail the user for more control over permissions.
评论 #1330085 未加载
bdr大约 15 年前
Meh. What are the advantages over daemontools?
评论 #1330553 未加载