Il giorno 09/nov/2012, alle ore 18:05, Jeff Van Voorst 
<[email protected]> ha scritto:

> The best answer is it depends on your application and usage patterns.  You 
> will want to test loading your system till it breaks for different values of 
> n.
> 
> Potential starting values of n might be small (e.g. 8) for heavy 
> computational apps, and much larger for database query or I/O heavy apps 
> (e.g. 256 or even 1024).  Note that these are starting values, and the only 
> way to know is to test your app as you see and expect users to use it.
> 
> --Jeff
> 
> 

A very important test is using the stats subsystem of 1.4 that exports 
information about cores (in the case of the gevent plugin, a core is mapped to 
a greenlet).

As the uWSGI async mode tend to reuse the first available core, you will get a 
pretty accurate info about the need of adding more cores/greenlets (or to 
remove them if they are unused)

--
Roberto De Ioris
http://unbit.it
JID: [email protected]

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to