It does not always have to be SHM using Cache::Cache you could also
share data using the e.g. the filesystem.

Another possibility would be to use BerkeleyDB which works perfectly see
also http://www.perl.com/pub/a/2001/10/17/etoys.html

Tom

Am Fr, 2003-11-21 um 01.15 schrieb Matthew Smith:
> > From: "Ken Burcham" <[EMAIL PROTECTED]>
> >  
> >  can I do that lookup just once
> > and stuff it somewhere like an application server variable? 
> 
> I use Apache::AxKit::Plugin::Session, there is a 'Global' taglib that
> let's you share data between all instances of apache.  It's a bit
> involved though, if you're not doing access and authentication it might
> be easier to directly use Apache::Session, there is a shared memory
> module which would do the job.  Maybe others have recomendations on the
> best way to access shared memory for mod_perl.
> 
>  > where does this cache
> > live?  Or does it?  
> 
> My understanding is that it is stored in the memory of the perl instance
> that is running.  I also understand that there is a perl instance for
> each apache server instance running - so things can get out of sync if
> your browser comes in on a different server - hence the need for a
> shared memory storage.
> 
> matt
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to