High traffic block
|Reported by:||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I am using django 1.3 on apache 2.* on windows server 2008. mysql 5.*
When i try to access a view that does this:
i have about 9K results on that. i am doing len and not .count, because i want to test the server.
the server becomes reaally slow. i am trying to test how much weight my server could manage, but it seems that 10 parallel requests to that view, slows the response down to 15 seconds!!
THIS IS just an example. i will soon manage many requests, maybe not to that view always, but if 10 requests slows the server down that much, what would 1000 requests do?
Please help. i dont want to migrate fomr django.
is it the data to object proccess? or mysql throughput?
How can i make this to go to a normal speed?
even without a view: only py files calling that len(User.objects.all()), slows it really down!
Change History (5)
comment:1 Changed 4 years ago by
|Patch needs improvement:||unset|
|Status:||new → closed|