|
Posted by Paul Fisch on 01/07/08 09:01
On Jan 7, 2:34 am, Gilles Ganault <nos...@nospam.com> wrote:
> On Mon, 7 Jan 2008 00:19:34 -0800 (PST), Paul Fisch <fis...@gmail.com>
> wrote:
>
> >Using the command set_time_limit(some #) can extend the timeout limit
> >to whatever you want.
>
> I could be wrong, but it doesn't matter what is set in the PHP
> scripts: If the server and/or the browser time out after X seconds,
> the script will fail unless it keeps pumping data out to keep the
> connection open.
>
> >Why isn't LAMP a good choice for long-running tasks?
>
> Because it's meant for fast query-reply, not to keep the connection
> open for 15 minutes. Why does this have to be written as a web
> application, and what does it really do? Heavy data mining, or
> computation?
Computation and lots of api queries. I plan to use ajax to let it run
in the background and load the data into sql tables and to deliver the
data when its ready.
[Back to original message]
|