http://qs321.pair.com?node_id=134166


in reply to CGI data from memory w/o mod_perl

It certainly should be possible (we did something similar for short term account caching).

If each CGI is loading the complete hash from the central program, then each CGI is going to have a copy of it and will have to deal with the entire hash of hashes. I would recommend optimizing your central program to only give the CGIs the individual pieces of the hash that concern them.

Shared memory could be another option, although I do admit, I haven't ever tried that myself.

-- termix