Re: [Speedycgi-users] Question about SpeedyCGI sharing processes
Brought to you by:
samh
|
From: Sam H. <sa...@da...> - 2002-04-18 16:46:36
|
If you have lots of different cgi's run under the same user-id, SpeedyGroup will help with the memory sharing. It lets you run multiple cgi's in one process. The default is no-grouping. I think what you're looking for is something like this: http://sourceforge.net/tracker/index.php?func=detail&aid=226647&group_id=2208&atid=102208 I don't think pre-load will ever work across different users though. > Hello Sam, > > First off, many thanks for providing and maintaining the excellent > SpeedyCGI module. I think it's a super alternative to the heavy ModPerl. > > A question came up while I tested a rather code-rich search engine using > SpeedyCGI as back-end in live usage. First, my impression was that > SpeedyCGI shares the same CGI application and all of its loaded modules > between different user processes, except that it forks off new Perl > interpreters for each new process. > > However, I discovered that SpeedyCGI sets up a completely new > environment for each new PID, meaning that the startup penalty for > loading large Perl applications (including modules) applies each time here. > > Question: am I missing something here or is there an option to allow > SpeedyCGI to compile the code of one particular application and share > it across multiple user processes? The SpeedyGroup directive seems > rather to provide an option to allow one Perl interpreter to run > different applications per one unique user process. Or am I totally off > the mark here? > > Thanks! > > Best regards, > > Philippe Wiede > > Megapublic [r], Inc. > www.megapublic.com > > _______________________________________________ > Speedycgi-users mailing list > Spe...@li... > https://lists.sourceforge.net/lists/listinfo/speedycgi-users |