Tuesday, April 17, 2012

Re: High Traffic

On Mon, Apr 16, 2012 at 3:59 PM, Yarden Sachs <yrdnsa@gmail.com> wrote:
> it took 20 times more for EACH request. that means that if 20 users accross
> the web ask for differrent heavy data- instead of taking a second for each
> one, every user will wait for 20 seconds before the response will answer.


so the total time was 150 seconds? you said it was 10 parallel
requests, then 20 times longer is still not bad.


On Tue, Apr 17, 2012 at 3:55 AM, Tom Evans <tevans.uk@googlemail.com> wrote:
> Contrived tests don't prove anything.

absolutely.

if you set a purposely slow task, don't expect it to be fast.


heavy, memory intensive tasks are not supposed to be done
concurrently, and definitely not in the request/response loop. that's
why we have offline tasks and queue managers.

--
Javier

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate