Apache-Traffic

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

Modified Makefile.PL to change traffic script's #! path to $Config{perlpath} 

Modified traffic script to handle date ranges and removal function.
Date::Parse is now required.

Patched IPC::Shareable 0.28 to handle semaphore overflow.

Semaphore locking is now handled by us to take advantage of the
SEM_UNDO flag. IPC::SysV is now required.  

Old data is now transparently stored in a DBM file to reduce logging time.
DB_File is now required.

Fake users can now be used in Owner variables, in which case the names
are stored (rather than their non-existent UIDs).

Using GM time now so daylight savings time doesn't bite us.

Rarely called fuctions are now autoloaded.

Moved logger to $r->post_connection as suggested by Tom <tom@SDF.COM>, with

Traffic.pm  view on Meta::CPAN

    root is used.

  o If neither of the above methods work, the owner of the file
    is used.

The hit and byte total information is stored in shared memory to
minimize processing.  On the first request of each day, all
previous data in shared memory is automatically moved to permanent 
storage.  This means that no more than one day's worth of information
is ever stored in shared memory, and prevents performance degradation
as data accumulates.  This separation of data is transparent from
the end-user perspective.

If you would rather not have the data moved into the dbm file, you
can set USE_DBM to 0 at the top of the Traffic.pm module and reinstall.

Shared memory segments are not preserved through reboots.  If you
reboot your machine multiple times a day, Apache::Traffic will be
of questionable value to you.  I run Linux, so of course, I only
reboot when I've upgraded the OS. ;-)  This area may be improved
in the future (at least for orderly shutdowns).



( run in 0.774 second using v1.01-cache-2.11-cpan-a1d94b6210f )