Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Looking for a diagram to explain WSGI [closed]

To help further my understanding of WSGI I'm looking for a diagram which explains the flow of an application, from webserver (eg. apache) through a number of middlewares to "code" (as in, the print "hello world" bit).

I've read various articles regarding WSGI from wsgi.org, but it's still not "clicking" for me and as for diagrams Google isn't bringing anything useful back except this for django which, while interesting, is expecting the user to understand how middleware links-up and such.

Since "a picture is worth a thousand words", are there any diagrams out there which get a bit lower/more simplistic than this?

like image 314
Phillip B Oldham Avatar asked Aug 19 '09 23:08

Phillip B Oldham


1 Answers

As I gained nothing by looking at Ian's fancy tubes I decided to draw a diagram myself. I hope it will help someone understand how WSGI flow works. As long as you have suggestions how to make it better I'm open to modify it. It was created with LUCIDCHART webapp. The original diagram you can find here and the high quality PNG is here.

WSGI Flow

like image 126
Piotr Dobrogost Avatar answered Nov 07 '22 04:11

Piotr Dobrogost