Angela Focazio wrote:
> 
>     It seems very inefficient on memory to have each child process forms
> its own cache, so I was interested in creating a centralized cache that
> all of the child processes could dip into (actually forming a module
> that allows for I/O & control of a centralized cache - expiring
> information, delegating a maximum size to different structures, you get
> the clue). Has anyone had luck with this?

There are several modules that do things like this on CPAN.  If none of
those meets your needs, you might try building one on the shared memeory
hash structure provided by IPC::MM or use BerkeleyDB (not DB_File) which
also allows for shared memeory with multiple readers/writers.

- Perrin

Reply via email to