many thanks. I'll follow the steps to debug the problems.

Now let me keep it simple, any problems on my uwsgi configurations?



On Wed, Oct 17, 2012 at 12:39 AM, Guido Notari <[email protected]> wrote:

> Il giorno 16/ott/2012, alle ore 18.26, Andriy Kornatskyy ha scritto:
>
> >
> > Database heavy applications unlikely load your web server CPU 100%,
> since they cause significant IO delays between processes, unless you are
> caching. ORM, routing, template rendering can + your application logic.
>
> It depends on the query ;)
>
> Anyway your point is good so, searching for causes of significant cpu use,
> Samuel can consider to:
>
> ensure that he's using cached template loading
>
> use a tool for connection pooling
>
> move sessions out of the database, if using them
>
> and of course take Andriy's advice on profiling, go catch silly things
> like calling a list() out of a (hefty) queryset, and so on
>
> But we're going off topic in this list..
>
> regards
> Guido
>
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>



-- 
*吴焱红(Samuel)*

博客: blog.shanbay.com
微博: 扇贝网 <http://www.weibo.com/shanbay>
人人网: 一起背单词公共主页 <http://page.renren.com/699128841?ref=lnkprofile>
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to