Re: how to share data among modperl processes

2005-10-26 Thread 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, Pratik On 10/21/05, Jay Buffington <[EMAIL PROTECTED]> wrote: > Even if you are in a multiple server environment you should still be > able

Re: how to share data among modperl processes

2005-10-20 Thread Steven Lembark
-- Perrin Harkins <[EMAIL PROTECTED]> > On Thu, 2005-10-20 at 23:37 +0100, Roger McCalman wrote: >> I would also be suprised if anyone would want to run NFS on machines >> that are used as public webservers due to security issues with NFS. > > It's not that bad in this case. If you have a clus

Re: how to share data among modperl processes

2005-10-20 Thread Perrin Harkins
On Thu, 2005-10-20 at 23:37 +0100, Roger McCalman wrote: > I would also be suprised if anyone would want to run NFS on machines > that are used as public webservers due to security issues with NFS. It's not that bad in this case. If you have a cluster of machines, you probably have a load balance

Re: how to share data among modperl processes

2005-10-20 Thread Roger McCalman
On Thu, Oct 20, 2005 at 04:59:08PM -0400, Perrin Harkins wrote: > On Thu, 2005-10-20 at 13:52 -0700, Jay Buffington 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

Re: how to share data among modperl processes

2005-10-20 Thread Perrin Harkins
On Thu, 2005-10-20 at 13:52 -0700, Jay Buffington 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 moun

Re: how to share data among modperl processes

2005-10-20 Thread Jay Buffington
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 <[EMAIL PROTECTED]> wrote: > Unless

Re: how to share data among modperl processes

2005-10-09 Thread Foo Ji-Haw
rrect? - Original Message - From: "Pratik" <[EMAIL PROTECTED]> To: "Foo Ji-Haw" <[EMAIL PROTECTED]> Cc: Sent: Sunday, October 09, 2005 10:21 PM Subject: Re: how to share data among modperl processes > Unless you are running the application in multiple server env

Re: how to share data among modperl processes

2005-10-09 Thread Pratik
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,

Re: how to share data among modperl processes

2005-10-07 Thread Michael Hall
You could try Cache::Memcached http://www.danga.com/memcached/ http://search.cpan.org/~bradfitz/Cache-Memcached-1.15/ It implements a dictionary spread across any number of memcached servers. It will also allow you to run your back end program on a different Perl interpreter, computer, operating

how to share data among modperl processes

2005-10-07 Thread Foo Ji-Haw
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://l