Apache-Backend-POE

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

    There are two configurations which are server-specific and which can be
    done upon server startup:

     Apache::Backend::POE->connect_on_init(host => $host, port => $port, alias => $alias);

    This can be used as a simple way to have apache servers establish
    connections on process startup. Alias defaults to 'backend'

     Apache::Backend::POE->setPingTimeOut($timeout, $alias);

    This configures the usage of the ping method, to validate a connection.
    Setting the timeout to 0 will always validate the connection using the
    ping method (default). Setting the timeout < 0 will de-activate the
    validation of the connection object. Setting the timeout > 0 will ping
    the connection only if the last access was more than timeout seconds
    before. Alias defaults to 'backend'

    For the menu item 'Backend POE connections' you need to call
    Apache::Status BEFORE Apache::Backend::POE ! For an example of the
    configuration order see startup.pl.

    To enable debugging the variable $Apache::Backend::POE::DEBUG must be

lib/Apache/Backend/POE.pm  view on Meta::CPAN

There are two configurations which are server-specific and which can be done 
upon server startup: 

 Apache::Backend::POE->connect_on_init(host => $host, port => $port, alias => $alias);

This can be used as a simple way to have apache servers establish connections 
on process startup. Alias defaults to 'backend'

 Apache::Backend::POE->setPingTimeOut($timeout, $alias);

This configures the usage of the ping method, to validate a connection. 
Setting the timeout to 0 will always validate the connection using the ping
method (default). Setting the timeout < 0 will de-activate the validation of
the connection object. Setting the timeout > 0 will ping the connection only if
the last access was more than timeout seconds before. Alias defaults to 'backend'

For the menu item 'Backend POE connections' you need to call Apache::Status BEFORE 
Apache::Backend::POE ! For an example of the configuration order see startup.pl. 

To enable debugging the variable $Apache::Backend::POE::DEBUG must be set. This 
can either be done in startup.pl or in the user script. Setting the variable 
to 1, just reports about a new connect. Setting the variable to 2 enables full 



( run in 0.293 second using v1.01-cache-2.11-cpan-4d50c553e7e )