On Tue, Jun 12, 2012 at 7:39 PM, Gilles <nos...@nospam.com> wrote: > Since web scripts are usually very short anyway (user sends query, > server handles request, sends response, and closes the port) because > the user is waiting and browsers usually give up after 30 seconds > anyway... why did Python solutions go for long-running processes while > PHP was built from the start as short-running processes?
Think of it as Apache + PHP versus Python. Apache keeps running, it's only your PHP script that starts and stops. With a long-running process, you keep everything all in together, which IMHO is simpler and better. ChrisA -- http://mail.python.org/mailman/listinfo/python-list