|PSGI||Can run any PSGI applications. Fully supports psgi.nonblocking and psgi.streaming interfaces.|
|AnyEvent||This server uses AnyEvent and runs in a non-blocking event loop, so its best to run event-driven web applications that runs I/O bound jobs or delayed responses such as long-poll, WebSocket or streaming content (server push).|
|Fast header parser||Uses XS/C based HTTP header parser for the best performance. (optional, install the HTTP::Parser::XS module to enable it; see also Plack::HTTPParser for more information).|
|Lightweight and Fast||The memory required to run twiggy is 6MB and it can serve more than 4500 req/s with a single process on Perl 5.10 with MacBook Pro 13" late 2009.|
Supports Server::Starter for hot deploy and
To use it, instead of the usual:
install Server::Starter and use:
The following environment variables are supported.
TWIGGY_DEBUG Set to true to enable debug messages from Twiggy.
Because it is like Thin <http://code.macournoyer.com/thin/>, Rubys Rack web server using EventMachine. You know, Twiggy is thin :)
Im sick of naming Perl software like HTTP::Server::PSGI::How::Its::Written::With::What::Module and people call it HSPHIWWWM on IRC. Its hard to say on speeches and newbies would ask questions what they stand for every day. Thats crazy.
This module actually includes the longer alias and an empty subclass AnyEvent::Server::PSGI for those who like to type more ::s. It would actually help you find this software by searching for PSGI Server AnyEvent on CPAN, which i believe is a good thing.
Yes, maybe Im on drugs. Well see.
This module is licensed under the same terms as Perl itself.
|perl v5.20.3||TWIGGY (3)||2015-01-03|