Apache-Backhand
view release on metacpan or search on metacpan
Backhand.pm view on Meta::CPAN
=back
=head1 CAVEATS
As explained above, you cannot PerlModule or use() or require()
Apache::Backhand until *after* mod_backhand (and mod_perl, of course) are
linked into the server.
As explained above, you cannot call load_serverstats() until *after* the
shared memory segment has been created and attached. The best place to do
this is the child init phase.
It's easy to make mod_backhand coredump by doing Bad Things to serverstats
(e.g. 'foreach (@{$serverstats}) { $_->{'mtime'} = time() }'...)
Even though I've provided the magic to make serverstats writeable, this should
be treated with care.
There is necessarily going to be a small amount of overhead when calling perl
candidacy functions. I highly recommend calling byAge *before* calling any
perl candidacy functions, because converting the server list into a perl array
( run in 1.762 second using v1.01-cache-2.11-cpan-4e96b696675 )