NAME
Sprocket::Server::PreFork - The PreForking Sprocket Server
SYNOPSIS
use Sprocket qw( Server::PreFork );
Sprocket::Server::PreFork->spawn(
Name => 'Test Server',
ListenAddress => '127.0.0.1', # Defaults to 0.0.0.0
ListenPort => 9979, # Defaults to random port
Plugins => [
{
plugin => MyPlugin->new(),
priority => 0, # default
},
],
LogLevel => 4,
MaxConnections => 10000,
Processes => 4,
);
DESCRIPTION
Sprocket::Server::PreFork forks processes for Sprocket::Server
NOTE
This module subclasses Sprocket:Server with one additional parameter: Processes => (Int). It will fork 3 additional processes to total 4.
SEE ALSO
POE, Sprocket, Sprocket::Connection, Sprocket::Plugin, Sprocket::Client
AUTHOR
David Davis <xantus@cpan.org>
RATING
Please rate this module. http://cpanratings.perl.org/rate/?distribution=Sprocket
COPYRIGHT AND LICENSE
Copyright 2006-2007 by David Davis
See Sprocket for license information.