On Sunday 28 December 2008, Andy Wiese wrote:
Yep. Eventually FastCGI will be the way to go for the CGI implementation. In the current case, one target platform is a small embedded webserver that isn't FastCGI enabled, but I may be able to upgrade to Lighty or something in the future. However, I would also like to use the same library in other processes, to access the same data, and these processes are short lived similar to old-school CGI. So, my hope is to make a good-enough implementation for the one-shot scenario, and then use something like FastCGI where that is possible.
Did you consider creating a server process that holds the indexes and just open a pipe or socket to the server from your cgi processes to execute the query? Lothar -- Lothar Werzinger Dipl.-Ing. Univ. framework & platform architect Tradescape Inc. - Enabling Efficient Digital Marketplaces 1754 Technology Drive, Suite 128 San Jose, CA 95110 web: http://www.tradescape.biz