On Sat, 22 Dec 2001 09:23:30 -0500
DeWitt Clinton <[EMAIL PROTECTED]> wrote:

> > One instance for one server (across all httpd processes).
> > Implemented using Cache::SharedMemoryCache (IPC).
> 
> Maybe you want to consider directly using Cache::SharedMemoryBackend
> instead of the SharedMemoryCache class.  The full cache class has the
> overhead of dealing with object expiration times, which isn't going to
> be necessary for the Singleton.

I'll look into it. Thanks for the input.
 
> Also, try experimenting with the FileBackend as your sharing mechanism
> instead of shared memory.  If you have a large number of Singleton
> objects (unlikely, but possible) then this may be a huge performance
> win.

Exactly.

--
Tatsuhiko Miyagawa


Reply via email to