Hi, The url show that the user process used multiple cores when it worked. In my case, I cap at 1. >From my understandinf, the process is handled by gevent:
I was starting with paster server conf.ini in conf.ini [server:main] use = egg:pastegevent#gevent I tested with pyramid 1.4a3 instead of 1.2. I used pserver and changed the line to: use = egg:waitress#main As I read elsewhere that it was supporting multiple threads, but this gave me an gevent error: NotImplementedError: gevent is only usable from a single thread gevent is only usable from a single thread So this mean I need to put my parallelisme at an outer level (nginx?) or to modify the app to don't use gevent internally? I'm pretty sure it is me missing something, as I'm new to pyramid. thanks Frédéric On Mon, Nov 5, 2012 at 4:33 PM, Andi Balke <[email protected]>wrote: > how do you run the process? > > does this give some keywords ;) > http://webcache.googleusercontent.com/search?q=cache:XCapE0WWJecJ:serverfault.com/questions/334026/nginx-uwsgi-django-performance-stuck-on-100rq-s+&cd=3&hl=de&ct=clnk&gl=de > > andi > > On 05.11.2012, at 22:13, Frédéric Bastien wrote: > > Hi, > > I inherited a project that is done with pyramid 1.2. Currently, it can > process aroud 100-200 requests/s for dynamic page generated. The bottleneck > seam to be the GPU, as the paster process run close to 100%. We need to be > able to scale that up. > > As we have multi-cores CPU, is there a way to make use of them to get > faster results? Each view have been done to scale between server. So there > is no concurency problem. > > I didn't found any documentation on this subject and google didn't helped > me. That surprise me. So I suspect I missed the right keyword. Do you know > where there the documentation is? > > Thanks > > Frédéric Bastien > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/pylons-discuss/-/TAgp26Wm2lcJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
