Hanno Schlichting wrote:
Shane Hathaway wrote:
Roger Ineichen wrote:
Do you know something about the performance of WSGI?
I whould be happy to see some perfomance tests comparing WSGI with other server concepts. WSGI is extremely lightweight, so WSGI itself isn't going to affect performance. The WSGI servers I know about are reasonably fast.
What's the overhead of a WSGI middleware? Is the overhead cost in the same order of magnitude as a simple function call with a return value or is there something inherently more complex going on?
No. A WSGI app is basically just a callable. Of course, the app can do lots of crazy things. There may also be some setup cost if you use things like Paste Deploy, but that's a one-time thing. zope.pipeline may of course do lots of crazy things in its apps. ;-) Martin -- Author of `Professional Plone Development`, a book for developers who want to work with Plone. See http://martinaspeli.net/plone-book