in reply to Re: Re: Sharing data structures in mod_perl
in thread Sharing data structures in mod_perl

With the staleness check above, I was trying to NOT serialize the data, therefore storing a reference in a global shared among httpd processes.

Yeah, you can't do that. Globals are not shared between processes. That's not a mod_perl thing; it's just how processes work.

One more tip: others have seen great results from Cache::Mmap. You may want to look at that.

  • Comment on Re: Re: Re: Sharing data structures in mod_perl