Your SlideShare is downloading. ×
nginx mod PSGI
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

nginx mod PSGI

2,426
views

Published on

Published in: Technology

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,426
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
10
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!