How you have tested the load? What is your CPU/RAM ? How did you configure tread/process of wsgi ?
I have a case when all slow down was on .first() or .last() ofter db was populated On 1 дек, 22:44, Richard Vézina <ml.richard.vez...@gmail.com> wrote: > Use top, iotop, itop and screen so I can switch between those top... > > I tried what preibt suggest on other thread (same thread double post one > without object) and replace Apache and wsgi by nginx and uwsgi... No much > difference and still the 45% 100%... But it sometime goes over 45%. For > those second test I had a dev virtual machine with 2 cpu (only have 1 cpu > the first time on staging vm). > > I read the scale section in the book and there is many thing I can try... > For now I will try to refactor my app since it seems to come from there. I > have long models and controller files so I will try to split them off a bit > to see if I can improve speed this way. > > Thanks for help Chris! > > Richard > > On Wed, Nov 30, 2011 at 10:27 PM, Christopher Steel > <chris.st...@gmail.com>wrote: > > > > > > > > > That sound peculiar Richard. Could we get a little more info on your load > > test? Where are you getting the 45% and 100% figures from, the Gnome > > monitoring applet? If it is an app you can share, I could try the same > > setup on a similar system for you. > > > Chris