﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
18147	High traffic block	yrdnsa@…	nobody	"Hello,
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:
def view(request):
len(User.objects.all())
return HttpResponse('')

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?

BTW,
even without a view: only py files calling that len(User.objects.all()), slows it really down!

Yarden"	Uncategorized	closed	HTTP handling	1.4	Normal	invalid			Unreviewed	0	0	0	0	0	0
