If you can't read please download the document
Upload
yaroslav-korshak
View
3.166
Download
0
Embed Size (px)
Citation preview
PSGI serverimplementation for
Mission
nginx
+
PSGI
=
ngx_mod_psgi
v
PSGI 1.09_3
nginx 1.0.4
$env
REQUEST_METHOD
SCRIPT_NAME
PATH_INFO
REQUEST_URI
QUERY_STRING
SERVER_NAME SERVER_PORT
SERVER_PROTOCOL
HTTP_*
REQUEST_METHOD
SCRIPT_NAME
PATH_INFO
REQUEST_URI
QUERY_STRING
SERVER_NAME SERVER_PORT
SERVER_PROTOCOL
HTTP_*
psgi.errors
psgi.input
Perl IO Layers
perldoc perliol
$env->{'psgi.input'}->read();
Blocking!
Tests
Delayed Response
and Streaming Body
Plack::Test::Suite
!
Speed
What's next?
Debug
Production
PSGI::Extensions
(1.09_3)
psgix.harakiri
psgix.io
psgix.logger
psgix.session
http://github.com/yko/ngx_mod_psgi
Thank you!
Yaroslav 'yko' Korshak
Black Perl 2011
| Internal use only