On Sat May 6 13:34:35 2000 +0200 Thierry-Michel Barral wrote:
> buongiorno a tutti, [sorry, but I'm currently listening Le Nozze di Figaro !]
> I have a little question :
>
> ( I'm using mod_perl 1.23, scripts under Apache::Registry)
>
> I have a script updating a db from parm given by the client, and building a HTML
>page.
>
> The process of update is fast enough, but the building is a litlle too long, too
>many updates arriving.
>
> I cannot stopping the frequency of updates (human !), so my question ;
>
> Is it possible to have another process / script, allways running, which my script
>can talk ?
> (I do not want to use the crontab)
Sure - run plain perl script as daemon listening on UNIX or INET socket. But
this isn't mod_perl
related at all.
>
> Is a fork a good idea ?
No if you do it each hit.
--
Ričardas Čepas
~~
~
PGP signature