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
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!