nginx mod PSGI

  • 2,372 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,372
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
9
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. PSGI server implementation for
  • 2. Mission
  • 3. nginx + PSGI = ngx_mod_psgi v
  • 4. PSGI 1.09_3 nginx 1.0.4
  • 5. $env
  • 6. REQUEST_METHOD SCRIPT_NAME PATH_INFO REQUEST_URI QUERY_STRING SERVER_NAME SERVER_PORT SERVER_PROTOCOL HTTP_*
  • 7. REQUEST_METHOD SCRIPT_NAME PATH_INFO REQUEST_URI QUERY_STRING SERVER_NAME SERVER_PORT SERVER_PROTOCOL HTTP_*
  • 8. psgi.errors psgi.input
  • 9. Perl IO Layers perldoc perliol
  • 10. $env->{ 'psgi.input' } ->read ();
  • 11. Blocking!
  • 12. Tests
  • 13. Delayed Response and Streaming Body Plack::Test::Suite !
  • 14.
    • Speed
  • 15.
    • What's next?
  • 16.
    • Debug
  • 17.
    • Production
  • 18.
    • PSGI::Extensions (1.09_3)
  • 19.
    • psgix.harakiri psgix.io psgix.logger psgix.session
  • 20. http://github.com/yko/ngx_mod_psgi
  • 21.
    • Thank you!