On Mar 22, 7:37 am, olivier <[email protected]> wrote: > I plan to use web2py as a simple desktop app service (using the > packaged web2py for windows). > Will the web server (I don't know which server ships in the stand > alone version) handle several requests in parallel if I use ajax calls > to several controller functions? >
Depends on what you mean by parallel. In normal terms, that is if you are not depending on some state or property that requires use of artifically managed parallel transactions, the answer is yes. Why not just test and see? There are practical limits. A severe practical limit comes form the OS overhead in using a thread for each web2py request to a controller function. The mentioned session and database locking issues are of course also relevant. Just beacuse a session or database locks occurs does not mean the request fails. They are just one more place queues or locks occur. IO (input-output) OS (operating systems) queues or locks are very common and are hidden. I hope this adds a bit more insight. John Heenan

