Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 83 lines (58 sloc) 2.375 kb
e01513f @miyagawa templates
authored
1 NAME
500822a @miyagawa make it a top level namespace. See =head1 NAMING for details
authored
2 Twiggy - AnyEvent HTTP server for PSGI (like Thin)
e01513f @miyagawa templates
authored
3
4 SYNOPSIS
987c95a @miyagawa Checking in changes prior to tagging of version 0.1000. Changelog diff ...
authored
5 twiggy --listen :8080
914680d @miyagawa rename Plack::Server::AnyEvent to AnyEvent::Server::PSGI::Twiggy!
authored
6
c85c527 @miyagawa Checking in changes prior to tagging of version 0.1008.
authored
7 See "twiggy -h" for more details.
987c95a @miyagawa Checking in changes prior to tagging of version 0.1000. Changelog diff ...
authored
8
9 use Twiggy::Server;
10
11 my $server = Twiggy::Server->new(
ebc6b09 @miyagawa Checking in changes prior to tagging of version 0.01. Changelog diff is...
authored
12 host => $host,
13 port => $port,
14 );
914680d @miyagawa rename Plack::Server::AnyEvent to AnyEvent::Server::PSGI::Twiggy!
authored
15 $server->register_service($app);
16
17 AE::cv->recv;
e01513f @miyagawa templates
authored
18
19 DESCRIPTION
500822a @miyagawa make it a top level namespace. See =head1 NAMING for details
authored
20 Twiggy is a lightweight and fast HTTP server with unique features such
21 as:
914680d @miyagawa rename Plack::Server::AnyEvent to AnyEvent::Server::PSGI::Twiggy!
authored
22
23 PSGI
24 Can run any PSGI applications. Fully supports *psgi.nonblocking* and
25 *psgi.streaming* interfaces.
26
27 AnyEvent
28 This server uses AnyEvent and runs in a non-blocking event loop, so
29 it's best to run event-driven web applications that runs I/O bound
30 jobs or delayed responses such as long-poll, WebSocket or streaming
31 content (server push).
32
987c95a @miyagawa Checking in changes prior to tagging of version 0.1000. Changelog diff ...
authored
33 This software used to be called Plack::Server::AnyEvent but was
34 renamed to Twiggy. See "NAMING" for details.
35
914680d @miyagawa rename Plack::Server::AnyEvent to AnyEvent::Server::PSGI::Twiggy!
authored
36 Fast header parser
37 Uses XS/C based HTTP header parser for the best performance.
470079d @miyagawa revert HTTP::Parser::XS optional
authored
38 (optional)
914680d @miyagawa rename Plack::Server::AnyEvent to AnyEvent::Server::PSGI::Twiggy!
authored
39
40 Lightweight and Fast
41 The memory required to run twiggy is 6MB and it can serve more than
0368b71 @miyagawa fix POD
authored
42 4500 req/s with a single process on Perl 5.10 with MacBook Pro 13"
914680d @miyagawa rename Plack::Server::AnyEvent to AnyEvent::Server::PSGI::Twiggy!
authored
43 late 2009.
44
0368b71 @miyagawa fix POD
authored
45 Superdaemon aware
46 Supports Server::Starter for hot deploy and graceful restarts.
47
500822a @miyagawa make it a top level namespace. See =head1 NAMING for details
authored
48 NAMING
49 Twiggy?
9962c4a @miyagawa Checking in changes prior to tagging of version 0.1005.
authored
50 Because it is like Thin <http://code.macournoyer.com/thin/>, Ruby's Rack
51 web server using EventMachine. You know, Twiggy is thin :)
500822a @miyagawa make it a top level namespace. See =head1 NAMING for details
authored
52
a87b5d2 @miyagawa typo
authored
53 Why the cute name instead of more descriptive namespace? Are you on drugs?
0c70837 @miyagawa docs
authored
54 I'm sick of naming Perl software like
500822a @miyagawa make it a top level namespace. See =head1 NAMING for details
authored
55 HTTP::Server::PSGI::How::Its::Written::With::What::Module and people
0368b71 @miyagawa fix POD
authored
56 call it HSPHIWWWM on IRC. It's hard to say on speeches and newbies would
57 ask questions what they stand for every day. That's crazy.
500822a @miyagawa make it a top level namespace. See =head1 NAMING for details
authored
58
0c70837 @miyagawa docs
authored
59 This module actually includes the longer alias and an empty subclass
60 AnyEvent::Server::PSGI for those who like to type more ::'s. It would
61 actually help you find this software by searching for *PSGI Server
62 AnyEvent* on CPAN, which i believe is a good thing.
63
64 Yes, maybe I'm on drugs. We'll see.
ebc6b09 @miyagawa Checking in changes prior to tagging of version 0.01. Changelog diff is...
authored
65
66 LICENSE
67 This module is licensed under the same terms as Perl itself.
e01513f @miyagawa templates
authored
68
69 AUTHOR
914680d @miyagawa rename Plack::Server::AnyEvent to AnyEvent::Server::PSGI::Twiggy!
authored
70 Tatsuhiko Miyagawa
71
ebc6b09 @miyagawa Checking in changes prior to tagging of version 0.01. Changelog diff is...
authored
72 Tokuhiro Matsuno
e01513f @miyagawa templates
authored
73
b96466b @miyagawa Checking in changes prior to tagging of version 0.02. Changelog diff is...
authored
74 Yuval Kogman
75
914680d @miyagawa rename Plack::Server::AnyEvent to AnyEvent::Server::PSGI::Twiggy!
authored
76 Hideki Yamamura
77
0368b71 @miyagawa fix POD
authored
78 Daisuke Maki
79
914680d @miyagawa rename Plack::Server::AnyEvent to AnyEvent::Server::PSGI::Twiggy!
authored
80 SEE ALSO
81 Plack AnyEvent Tatsumaki
82
Something went wrong with that request. Please try again.