in reply to simple server implementation suggestions?

Did you ask about this on the mod_perl list? I think the simplest solution is to write a basic daemon that polls the log files (this is easy enough with help from CPAN) and spits out HTML files every few seconds. Then you just server the HTML through any web server you have handy. It's much lower tech and quicker to build than a non-blocking I/O scenario.

If you're determined to use non-blocking I/O, you're probably best off with POE, since it has a lot of parts already built.

  • Comment on Re: simple server implementation suggestions?

Replies are listed 'Best First'.
Re^2: simple server implementation suggestions?
by pc88mxer (Vicar) on Nov 14, 2007 at 16:23 UTC
    I did ask the pre-cursor to this question on the mod_perl list. I've determined that shared-memory is not the best way to collect the statistics I need from all of the child apache processes (and multiple servers), and that a specialized server is a better way to go.

    I'll consider the HTML-page solution and also look into POE.