Implementer
顯示具有
Django
標籤的文章。
顯示所有文章
顯示具有
Django
標籤的文章。
顯示所有文章
星期二, 6月 15, 2010
[Django] Django Con High Performance Django
Django Con High Performance Django
針對Django High Performance提供了許多有用的建議
1. Template Engine可以換更快的 像是換成Jinja
2. 作Caching....object cache and browser cache, using such as Squid, Vamish or Nginx
3. Profiling your code and database queries
Slide裡也有Example的Screenshot可以參考....
[Django] Debugging Django Slide
這個slide (
Debugging Django
) 大概簡介了怎麼Debuggin Django的一些方法與細節
十分有參考價值...
Summary 如下
基本的就直接用Python的
logging
可以logging to console, file, ..etc
db-error-log: 這個module可以幫忙把exception記錄在database裡
ProfilerMiddleware: 可以作Profiling 直接在Browser上打Url 可以看到Profiling與hotspot的結果
DebuggerFooter
: add a SQL footer into every HTML files
較舊的文章
首頁
訂閱:
文章 (Atom)