[ILUG] IPC and CGI

Mel Gorman mel at csn.ul.ie
Thu Apr 7 19:25:59 IST 2005


On Thu, 7 Apr 2005, Dale Dunlea wrote:

> doing its thing. The problem is that the file it must parse is likely to grow
> over time, and will get quite large. Which means that parsing it every time
> the CGI scripts gets run is going to be arduous and may become unacceptably
> slow.
>

I had a similar problem. I had a daemon start up, parse the file and
listen on a named pipe for instructions. In my case, the output was a GIF
file which I'd dump into an images directory. My img tag was then another
CGI script which fed the image to the client and then deleted the file.

Worked for me when I couldn't be sure what the install environment was.
Specifically the environment was a web server that ran from a CD where
space was very tight and a database would not work out.

-- 
Mel Gorman
Part-time Phd Student                          Java Applications Developer
University of Limerick                         IBM Dublin Software Lab



More information about the ILUG mailing list