[mod_python] Concurrent requests

Jim Gallacher jpg at jgassociates.ca
Fri Dec 9 11:03:01 EST 2005


Are you using sessions?
Which mod_python version?
Apache mpm prefork, worker or threaded?

Jim


Lars Eriksen wrote:
> I have created a simple .psp script that simply calls sleep(...) and 
> blocks execution for a certain amount of time (x seconds).
> 
> If I access the .psp script in two instances of my browser at the same 
> time, request one waits x seconds, then it finishes, then request two is 
> processed and finishes after x * 2 seconds.
> 
> Requests are obviously queued and not several Python interpreters 
> spawned to handle them concurrently.
> 
> Is there any setting that allows you to specify the number of Python 
> interpreters that should be used?
> 
> Thanks,
> 
> -Lars
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
> 



More information about the Mod_python mailing list