[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: how to share data among modperl processes
From:       Pratik <pratiknaik () gmail ! com>
Date:       2005-10-26 7:29:09
Message-ID: 9212531d0510260017i577c380y91dc997ad65b7b01 () mail ! gmail ! com
[Download RAW message or body]

Instead of dealing with uninvited trouble with NFS or anything
similar, using something like http://www.danga.com/memcached/ would be
a better idea.

Thanks,
Pratik

On 10/21/05, Jay Buffington <jaybuffington@gmail.com> wrote:
> 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 !
> >
>


--
http://www.rails.info - Coming Soon !

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic