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

Reply via email to