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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Django Deployment Workshop by Jacob Kaplan-Moss

69 点作者 ahmicro超过 14 年前

3 条评论

geekfactor超过 14 年前
I learned a lot by watching this and I highly recommend it but the viewer should be warned that many of the tools and techniques seem to have fallen out of favor in the Django community.<p>In my personal experience nginx+gunicorn turned out to be <i>much</i> easier to deal with than the reference Apache+mod_wsgi. It also seems to be JKM's current preference. Likewise, buildout, while very powerful can be a bit burdensome, and has fallen out of favor relative to pip+virtualenv.<p>For more current info, check out this extended chat with JKM and other lead Django developers here:<p>[discuss] <a href="http://news.ycombinator.com/item?id=2112160" rel="nofollow">http://news.ycombinator.com/item?id=2112160</a> [direct] <a href="http://www.revsys.com/officehours/2010/nov/05/" rel="nofollow">http://www.revsys.com/officehours/2010/nov/05/</a><p>Note: This video is a dup to <a href="http://news.ycombinator.com/item?id=1830696" rel="nofollow">http://news.ycombinator.com/item?id=1830696</a> though I'm surprised that post only got one point. There are probably others.
评论 #2113164 未加载
评论 #2114046 未加载
fdb超过 14 年前
I can recommend this. I've used this workshop to set up a few of my own production Django websites.<p>All materials, source code etc. are here.<p><a href="https://github.com/jacobian/django-deployment-workshop" rel="nofollow">https://github.com/jacobian/django-deployment-workshop</a><p>One trick I love is that he deletes all Apache configuration files and starts from scratch. I've found this a great way to learn what is necessary and what is overhead. Anybody else using this approach?
评论 #2112136 未加载
megaman821超过 14 年前
Why is pulling caching into the middle of an app a good idea? Memcached should be a last resort. The database should have a cache for things that get asked for over and over. Having a full page caching solution like Varnish is pretty doable for most sites where the only customization is the username at the top of the page which could be populated with javascript. Cache invalidation is a hard problem, why would most devs want anything to do with it? On lightly customizable sites, the only thing I would consider using memcached for is a faster session store.
评论 #2114044 未加载