Plack Blog tag:typepad.com,2003:weblog-85867237088335628 2013-05-13T20:47:24-07:00 Reblogging what's hip and new about Plack and PSGI, perl web server interface TypePad Monoceros というPrefork型だけどC10Kの接続を捌くことができるPSGI/Plackサーバ書きました - blog.nomadscafe.jp tag:typepad.com,2003:post-6a00d8345206d069e2017eeb2333d5970d 2013-05-13T20:47:24-07:00 2013-05-13T20:49:47-07:00 Monoceros はリクエストを処理するworkerの他に、イベントドリブンで動くコネクション管理... miyagawa

Monoceros はリクエストを処理するworkerの他に、イベントドリブンで動くコネクション管理プロセスを立てて、クライアントからの接続ソケットをunix domain socketを使いプロセス間でやりとりします。待機中の接続をPreforkなworkerではなくイベントドリブンのプロセスで管理することで、プロセスを占有することなく大量のコネクションを捌く事ができます。適切に設定すれば10000接続もいけると思います。

via blog.nomadscafe.jp

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.

kazeburo/Monoceros · GitHub - Tatsuhiko Miyagawa's blog tag:typepad.com,2003:post-6a00d8345206d069e2017d4316c9da970c 2013-04-24T17:29:21-07:00 2013-04-24T17:29:21-07:00 miyagawa
Arriba – PSGI web server with SPDY support - odyniec.net tag:typepad.com,2003:post-6a00d8345206d069e2017d3fa50247970c 2013-01-08T13:50:34-08:00 2013-01-08T13:50:34-08:00 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 miyagawa

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

Run Nagios without Apache + PHP tag:typepad.com,2003:post-6a00d8345206d069e2017ee7114f03970d 2013-01-07T21:41:04-08:00 2013-01-07T21:41:04-08:00 Plack上でPHP(php-cgi)を動かすモジュール、Plack::App::PHPCGIと任意... miyagawa

Plack上でPHP(php-cgi)を動かすモジュールPlack::App::PHPCGIと任意のCGIも動かせるPlack::App::CGIBinを使ってApacheナシでNagiosをインストールする方法

via blog.nomadscafe.jp

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: Tatsuhiko Miyagawa: Amazon.com: Kindle Store tag:typepad.com,2003:post-6a00d8345206d069e2017c32f9babd970b 2012-10-31T17:19:03-07:00 2012-10-31T17:24:19-07:00 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... miyagawa

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.

The joy of PSGI middleware | Jakob [blogs.perl.org] tag:typepad.com,2003:post-6a00d8345206d069e2017c3239de07970b 2012-09-29T18:56:43-07:00 2012-09-29T18:56:43-07:00 miyagawa
コード中から簡単に plackup できるモジュールを書いた - NaN days - subtech tag:typepad.com,2003:post-6a00d8345206d069e2017d3c34eae1970c 2012-09-21T01:14:26-07:00 2012-09-21T01:14:26-07:00 AnyEvent::plackup, embeddable plack web server in your script. miyagawa

AnyEvent::plackup, embeddable plack web server in your script.

Plack Handbook: Plack and PSGI Development guide ebook tag:typepad.com,2003:post-6a00d8345206d069e2017c31f70213970b 2012-09-18T16:53:46-07:00 2012-09-18T16:53:46-07:00 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. via handbook.plackperl.org miyagawa

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.

via handbook.plackperl.org

Sorry I can't dance, I'm holding on to my friend's purse | BooK [blogs.perl.org] tag:typepad.com,2003:post-6a00d8345206d069e2017d3be4ed6e970c 2012-09-07T10:35:54-07:00 2012-09-07T10:35:54-07:00 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 miyagawa

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

Detecting Bots and Spiders with Plack Middleware - Modern Perl Books for modern Perl programming tag:typepad.com,2003:post-6a00d8345206d069e2017c3162889f970b 2012-08-20T21:38:41-07:00 2012-08-20T21:38:41-07:00 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. via www.modernperlbooks.com miyagawa

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.

via www.modernperlbooks.com