Loading ...
Sorry, an error occurred while loading the content.

Re: how to share data among modperl processes

Expand Messages
  • Pratik
    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,
    Message 1 of 10 , Oct 26, 2005
    • 0 Attachment
      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@...> 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@...> 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@...> 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 !
    Your message has been successfully submitted and would be delivered to recipients shortly.