Monoceros はリクエストを処理するworkerの他に、イベントドリブンで動くコネクション管理プロセスを立てて、クライアントからの接続ソケットをunix domain socketを使いプロセス間でやりとりします。待機中の接続をPreforkなworkerではなくイベントドリブンのプロセスで管理することで、プロセスを占有することなく大量のコネクションを捌く事ができます。適切に設定すれば10000接続もいけると思います。
Monoceros is the new PSGI web server by kazeburo, written with the combination of event-driven master and preforking workers, to handle C10K clients nicely.
Having some free time during the Christmas break, I decided to give a shot at a small project that I had in mind for a while, and that was to develop a PSGI-compliant(-ish) web server with support for the SPDY protocol.
via odyniec.net
Plack上でPHP(php-cgi)を動かすモジュール、Plack::App::PHPCGIと任意のCGIも動かせるPlack::App::CGIBinを使ってApacheナシでNagiosをインストールする方法
kazeburo created a nice little gist to run Nagios with Plack and a few modules. Nagios is known to have a lot of dependencies to run, such as PHP, CGI-capable http server and static web server, all of which can now be done in a single Plack-based daemon.
Plack handbook has 24 useful short articles explaining the concept of PSGI and tutorials how to adapt Plack to the existing web applications. Written by the author of PSGI specification and Plack himself, this book has been considered a canonical reference for many beginners trying to learn Plack and also web framework authors trying to adapt PSGI.
via www.amazon.com
Plack Handbook English edition is now available on Kindle, just in case you don't want to (or can't) use gumroad for some reason. Also available on Amazon.co.jp and all other countries.
Note that you will only get English version from Kindle, and if you want to get both English/Japanese in EPUB and MOBI, you can still buy from gumroad for the same price, $5.
Japanese edition has been submitted to Amazon KDP at the same time and it is still in review. The book will be available on Amazon.com, amazon.co.jp and all Kindle participating countries.
AnyEvent::plackup, embeddable plack web server in your script.
This little handbook is based on the content of the website Plack Advent Calendar. The calendar had 24 useful short posts explaining the concept of PSGI and tutorials how to adapt Plack to the existing web applications.
wallflower treats all Plack applications equally, even if the first version of the program was targetting Dancer only.
Thanks Plack, for helping us to be so inclusive.
via blogs.perl.org
Plack middleware wraps around the application to examine and possibly modify the incoming request, to call the application (or the next piece of middleware), and to examine and possibly modify the outgoing response. Plack conforms to the PSGI specification to make this possible.