1Starlet(3) User Contributed Perl Documentation Starlet(3)
2
3
4
6 Starlet - a simple, high-performance PSGI/Plack HTTP server
7
9 % start_server --port=80 -- plackup -s Starlet [options] your-app.psgi
10
11 or if you do not need hot deploy,
12
13 % plackup -s Starlet --port=80 [options] your-app.psgi
14
16 Starlet is a standalone HTTP/1.0 server with keep-alive support,
17 formerly known as Plack::Server::Standalone::Prefork and
18 Plack::Server::Standalone::Prefork::Server::Starter.
19
20 The server supports following features, and is suitable for running
21 HTTP application servers behind a reverse proxy.
22
23 - prefork and graceful shutdown using Parallel::Prefork
24
25 - hot deploy using Server::Starter
26
27 - fast HTTP processing using HTTP::Parser::XS (optional)
28
30 In addition to the options supported by plackup, Starlet accepts
31 following options(s).
32
33 --max-workers=#
34 number of worker processes (default: 10)
35
36 --timeout=#
37 seconds until timeout (default: 300)
38
39 --keepalive-timeout=#
40 timeout for persistent connections (default: 2)
41
42 --max-keepalive-reqs=#
43 max. number of requests allowed per single persistent connection. If
44 set to one, persistent connections are disabled (default: 1)
45
46 --max-reqs-per-child=#
47 max. number of requests to be handled before a worker process exits
48 (default: 100)
49
51 Starlet is designed and implemented to be simple, secure and fast,
52 especially for running as a HTTP application server running behind a
53 reverse proxy. It only depends on a minimal number of well-designed
54 (and well-focused) modules.
55
56 On the other hand if you are looking for a standalone preforking HTTP
57 server that receives HTTP requests directly from the Internet, then you
58 should look at Starman.
59
61 Parallel::Prefork Starman Server::Starter
62
64 Kazuho Oku
65
66 miyagawa
67
69 This program is free software; you can redistribute it and/or modify it
70 under the same terms as Perl itself.
71
72 See <http://www.perl.com/perl/misc/Artistic.html>
73
74
75
76perl v5.12.3 2010-11-30 Starlet(3)