Chia-liang Kao clkao at bestpractical.com Wed Feb 10 08:26:33 EST 2010 Previous message: [jifty-devel] Production hosting setup/config Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hi all, If you don't know about Plack and PS... 続きを読む
HEAD の Plack::Request では Hash::MultiValues が導入されてる。Hash::MultiValue は多値をストアできるハッシュ風オブジェクト。 use Plack::Request; use Test::More; my $r = Plack::Request->new({ QUERY_STRING => 'bar=aaa&bar=bbb', REQUEST_METHOD =>... 続きを読む
bulknews.typepad.com Tatsuhiko Miyagawa's blog to discuss mostly tech and nerdy stuff. I am pleased to announce that i've just shipped Plack 0.99_01 to CPAN, the first dev release towards Plack 1.0. It will be up on search.cpan.org soon but f... 続きを読む
bulknews.typepad.com Tatsuhiko Miyagawa's blog to discuss mostly tech and nerdy stuff. There's always been a confusion on what Plack really is. First, there were people who thinks "Plack is a framework." This is probably because we have Plac... 続きを読む
PSGI/Plackにおいて、非同期にレスポンスが返せるstreamingという仕様/機能が追加されました。 PSGI/Plack streaming is now complete これを使うと、streamingをサポートしたサーバから非同期/nonblockingにhttpやGearmanを利用して外部へ問い合わせを行い、そ... 続きを読む
bulknews.typepad.com Tatsuhiko Miyagawa's blog to discuss mostly tech and nerdy stuff. In the last couple of days Yuval and I have been endlessly discussing what the asynchronous response API would look like in PSGI applications. And that was... 続きを読む
Just played Plack a bit and get a crufty app.psgi for Jifty apps. This can be placed in your Jifty app dir and run with plackup --app app.psgi, but you’ll have to modify the line that sets JIFTY_APP_ROOT environment variable to your Jifty ap... 続きを読む
HTTP::Engine 0.03001 has streaming response now / multipart/mixedなストリームをHTTP::Engine/Plackでpushする thanks many ideas from yusukebe, mattn, miyagawa. I created a streaming response support for HTTP::Engine. it was a too easy hack. exa... 続きを読む
天然パーマの Erogeek「ゆーすけべー / yusukebe」の日記です 最近は Perl の話題が多くなっています はぁはぁ 元ネタがmattnさんがsinatraで作ったものかつ、 さらにmiyagawaさんにコアな部分を教えてもらったということで、 お二人に敬意を示しつつ紹介。 Big... 続きを読む
WebGUI is an Apache mod_perl application. Not just any mod_perl application; reputedly the most deployed mod_perl application on the planet. You'd be forgiven for thinking that we love Apache. And we do. Mostly. But you see mod_perl is an ove... 続きを読む
Plack::Builderで、条件に応じてMiddlewareを読み込みたいなぁと思ったんですが、今のAPIだとPlack::Middlewareの以下のコードでuseするので、条件に応じてMiddlewareをロードするというのが少しやりにくいなぁと思ってました(これが一つのPlackX::Engineを書... 続きを読む
最近熱いPSGI/Packですが、サーバのStandaloneではかなり高速なパフォーマンスが出ているらしく、試してみようと思った所、Windowsでは動かない箇所があったのでいろいろやった作業履歴。 まず、Standaloneサーバが速いと言われる理由としてsendfile(2)を使って... 続きを読む
bulknews.typepad.com Tatsuhiko Miyagawa's blog to discuss mostly tech and nerdy stuff. It's been a new autumn break, so called Silver Week in Japan and the hacking has been a little calmed down. We're getting close to ship PSGI draft and Plac... 続きを読む
FastCGI の external server を Plack からよぶ実験をしてみる。以下のように FastCGI の external server をたちあげる。 plackup -i FCGI -a eg/dot-psgi/image.psgi port 8090 keep_stderr 1 FCGI::Client のコードはこのようになる。 use strict; use warni... 続きを読む
bulknews.typepad.com Tatsuhiko Miyagawa's blog to discuss mostly tech and nerdy stuff. The YAPC::Asia hackathon is over but hacking is continuing ... Kazuho made the fast XS based HTTP header parser HTTP::Parser::XS and I wrote Plack::HTTPPar... 続きを読む
bulknews.typepad.com Tatsuhiko Miyagawa's blog to discuss mostly tech and nerdy stuff. Daisuke Murase made Plack::Impl::Danga::Socket, the standalone web server that runs PSGI application. I made Perlbal::Plugin::PSGI that is a Perlbal plugin... 続きを読む
bulknews.typepad.com Tatsuhiko Miyagawa's blog to discuss mostly tech and nerdy stuff. Middleware is some great (but sometimes abused) features in Python's WSGI and Ruby's Rack. HTTP::Engine also had this middleware concept and had some great... 続きを読む