TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Python: Starting Tornado Apps at Boot using Upstart

21 pointsby hoopabout 15 years ago

3 comments

frognibbleabout 15 years ago
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 未加载
thegoleffectabout 15 years ago
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 未加载
bdrabout 15 years ago
Meh. What are the advantages over daemontools?
评论 #1330553 未加载