Plack::Handler::Standalone - adapters for HTTP::Server::PSGI
% plackup -s Standalone \ --host 127.0.0.1 --port 9091 --timeout 120
Plack::Handler::Standalone is an adapter for default Plack server implementation HTTP::Server::PSGI.
This adapter automatically loads Prefork implementation when max-workers is set, but otherwise the default HTTP::Server::PSGI which is single process.
max-workers
Host the server binds to. Defaults to all interfaces.
Port number the server listens on. Defaults to 8080.
Number of seconds a request times out. Defaults to 300.
Max requests per a keep-alive request. Defaults to 1, which means Keep-alive is off.
Number of seconds a keep-alive request times out. Defaults to 2.
Number of prefork workers. Defaults to 10.
Number of requests per worker to process. Defaults to 100.
Max requests per a keep-alive request. Defaults to 100.
Kazuho Oku
Tatsuhiko Miyagawa
HTTP::Server::PSGI
To install Plack, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack
CPAN shell
perl -MCPAN -e shell install Plack
For more information on module installation, please visit the detailed CPAN module installation guide.