Limiting the maximum number of concurrent requests django/apache

Posted by Johan on Stack Overflow See other posts from Stack Overflow or by Johan
Published on 2010-04-27T07:28:54Z Indexed on 2010/04/27 7:33 UTC
Read the original article Hit count: 287

Filed under:
|
|
|

Hi,

I have a django site that demonstrates the usage of a tool. One of my views takes a file as input and runs some fairly heavy computation trough an external python script and returns some output to the user. The tool runs fast enough to return the output in the same request though. I would however want to limit how many concurrent requests to this URL/view to keep the server from getting congested.

Any tips on how i would go about doing this? The page in itself is very simple and the usage will be low.

© Stack Overflow or respective owner

Related posts about django

Related posts about maximum