Re: caching questions

2003-07-23 Thread Peter Haworth
On Tue, 22 Jul 2003 13:05:00 +0300, Stas Bekman wrote: > Peter Haworth wrote: > > Cache::Mmap (which I wrote) isn't threadsafe, but should work OK in a > > forking MPM. If anyone wants to contribute code to make it threadsafe > > (preferably without impacting single-threaded performance too much),

Re: caching questions

2003-07-22 Thread Perrin Harkins
On Tue, 2003-07-22 at 02:13, Tom Schindl wrote: > Sorry to step in here, but could I use any of the caching modules you > mentionned in mod_perl2? I can't vouch for the thread safety of these modules, but all of them should work in prefork mode. - Perrin

Re: caching questions

2003-07-22 Thread Stas Bekman
Peter Haworth wrote: On 22 Jul 2003 08:13:43 +0200, Tom Schindl wrote: Am Mon, 2003-07-21 um 21.45 schrieb Perrin Harkins: On Sun, 2003-07-20 at 15:47, Patrick Galbraith wrote: I know there's IPC, and also memcached. I've used IPC::Shareable before, but don't know if that's the route I'd wanna g

Re: caching questions

2003-07-22 Thread Peter Haworth
On 22 Jul 2003 08:13:43 +0200, Tom Schindl wrote: > Am Mon, 2003-07-21 um 21.45 schrieb Perrin Harkins: > > On Sun, 2003-07-20 at 15:47, Patrick Galbraith wrote: > > > I know there's IPC, and also memcached. I've used IPC::Shareable > > > before, but don't know if that's the route I'd wanna go. > >

Re: caching questions

2003-07-21 Thread Tom Schindl
Sorry to step in here, but could I use any of the caching modules you mentionned in mod_perl2? thx tom Am Mon, 2003-07-21 um 21.45 schrieb Perrin Harkins: > On Sun, 2003-07-20 at 15:47, Patrick Galbraith wrote: > > One thing that my code does is check to see if it's cache has been > > updated to

Re: caching questions

2003-07-21 Thread Perrin Harkins
On Sun, 2003-07-20 at 15:47, Patrick Galbraith wrote: > One thing that my code does is check to see if it's cache has been > updated to the db, which I wish I could really have some sort of cache > that's in one place in memory (as opposed to each child process). Well, you can't, unless you use th

caching questions

2003-07-20 Thread Patrick Galbraith
Today I just looked at Apache::Session, and just realised I spent the last couple weeks coding what it does, more or less. I'm not sure If I should use what I wrote, or it. One thing that my code does is check to see if it's cache has been updated to the db, which I wish I could really have some so