If you really need to do the analysis
online in real-time and not as batch logfile anaysis
(as mentioned above) I see 2 posibilities:
- Real-time log analysis. Have a process that tails the
access logs and counts hits in real-time. This saves
the overhead of having to launch a separate process
each time you want to increment a count.
- Use mod_perl. With mod_perl you can run perl inside
of apache so you don't have the overhead of launching a separate
process. With Apache::Registry you can even use
your current cgi-bin perl programs with no modification
and get the "run inside of apache w/o a separate process"
advantage.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link or
or How to display code and escape characters
are good places to start.
|