perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Buffington <jaybuffing...@gmail.com>
Subject Re: how to share data among modperl processes
Date Thu, 20 Oct 2005 20:52:24 GMT
Even if you are in a multiple server environment you should still be
able to use Cache::FastMmap.  You'll just have to make sure that the
global param share_file is  a file that would be shared to all servers
(perhaps over an NFS mount).

Jay

On 10/9/05, Pratik <pratiknaik@gmail.com> wrote:
> Unless you are running the application in multiple server environment,
> http://search.cpan.org/~robm/Cache-FastMmap-1.09/ would be the best
> choice. But probably you should read up on AJAX as well. It looks like
> AJAX can help you accomplish what you are trying to do here.
>
> Thanks,
> Pratik
>
> On 10/7/05, Foo Ji-Haw <jhfoo@nexlabs.com> wrote:
> >
> > Hi all,
> >
> > I have a simple need where a process can take minutes to complete. But I
> > want to display some progress bar of sorts to the user.
> >
> > My idea is to have the handler call the local url which does the heavy
> > lifting. Something like this:
> > http://localhost/job/dojob => launches =>
> > http://localhost/job/actualjobworker
> >
> >
> > The local url will set some global hash to say that it is still working on
> > the job. The original handler (/job/dojob) becomes a polling script to check
> > on the global hash to see if the work is completed.
> >
> > I read from the wiki that it is possible to have a 'global' variable where
> > all process can read/write to it. Can someone point me in the direction? I
> > tried perl.apache.org but can't find anything there. A url should do the
> > trick.
> >
> > Thanks.
>
>
> --
> http://www.rails.info - Coming Soon !
>

Mime
View raw message