koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-devel] Getting rid of z3950 daemons


From: paul POULAIN
Subject: Re: [Koha-devel] Getting rid of z3950 daemons
Date: Tue Oct 21 02:29:06 2003
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630

MJ Ray wrote:

On 2003-09-30 15:22:05 +0100 paul POULAIN <address@hidden> wrote:

but that's not the problem : if enters 4 z3950, we shouldn't wait for 4 synchronous answers before sending him something. It would need 4-8 seconds. the daemon solution gives a "blank screen" to the user, saying "Koha is working", then answers are shown as soon as they arrive.

This would not require a daemon. Send a "koha is working" first of all and a redirect to the results page. The results page should not return anything (not even headers) until all results are in.

that's where we have not the same idea : I think users are happy to see that the query progresses.

Requests should still not be done synchronously if possible, to ensure that we can abort before the maximum runtime.

and how to do this with a web platform without a daemon (or cron job or anything else) ?
If i don't mind, the web platform is :
IP stack of server recieve a IP packet
Apache get the packet.
Apache sees it's a CGI call
Apache forks a process/thread to compute the answer
The process/thread output the results
The process/thread dies
Apache sends the results when the process/thread is dead
Job ended.

I don't see how to have an asynchronous task here.

--
Paul POULAIN
Consultant indépendant en logiciels libres
responsable francophone de koha (SIGB libre http://www.koha-fr.org)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]